Additional properties to serialize as part of the configuration payload. Typically used for command and state topics.
OptionalavailabilityConfigures the availability settings of the entity.
The type of component, constrained to valid component types
OptionaldeviceInformation about the device this component is a part of to tie it into the device registry. Only works when unique_id is set. At least one of identifiers or connections must be present to identify the device.
Optionaldevice_Sets the class of the device, changing the device state and icon that is displayed on the frontend. The device_class can be null. Different components have different valid device classes.
Optionalenabled_Flag which defines if the entity should be enabled when first added. Default is true.
Optionalentity_The category of the entity
Optionalexpire_If set, it defines the number of seconds after the sensor’s state expires, if it’s not updated. After expiry, the sensor’s state becomes unavailable. Default the sensors state never expires.
Optionalforce_Sends update events (which results in update of state object’s last_changed) even if the sensor’s state hasn’t changed. Useful if you want to have meaningful value graphs in history or want to create an automation that triggers on every incoming state message (not only when the sensor’s new state is different to the current one).
OptionaliconIcon to use for the entity in the frontend. Should be a Material Design Icon (format: mdi:icon-name).
Optionaljson_Template to extract the JSON dictionary from the json_attributes_topic.
OptionalnameThe name of the entity. This will be used for the entity name in the Home Assistant UI. Can be set to null if only the device name is relevant.
Optionalobject_Used instead of name for automatic generation of entity_id.
OptionaloptimisticFlag that defines if the cover works in optimistic mode. Default: true if no state topic defined, else false.
OptionaloriginInformation about the application that is the origin of the component.
Optionalpayload_The payload to close the cover. Default: "CLOSE".
Optionalpayload_The payload to open the cover. Default: "OPEN".
Optionalpayload_The payload to stop the cover. Default: "STOP".
Optionalposition_Number which represents the fully-closed position. Default: 0.
Optionalposition_Number which represents the fully-open position. Default: 100.
Optionalposition_A template to render the position received on position_topic.
OptionalqosThe maximum QoS level to be used when receiving and publishing messages. Default is 0.
OptionalretainDefines if published messages should have the retain flag set. Default: false.
Optionalset_A template to render the value sent to set_position_topic.
Optionalstate_The payload received on state_topic that represents a closed cover. Default: "closed".
Optionalstate_The payload received on state_topic that represents a closing cover. Default: "closing".
Optionalstate_The payload received on state_topic that represents an open cover. Default: "open".
Optionalstate_The payload received on state_topic that represents an opening cover. Default: "opening".
Optionalstate_The payload received on state_topic that represents a stopped cover. Default: "stopped".
Optionaltilt_The tilt value that represents a fully-closed tilt. Default: value of tilt_min.
Optionaltilt_The maximum tilt value. Default: 100.
Optionaltilt_The minimum tilt value. Default: 0.
Optionaltilt_The tilt value that represents a fully-open tilt. Default: value of tilt_max.
Optionalunique_An ID that uniquely identifies this entity. If two entities have the same unique ID, Home Assistant will raise an exception. Required when used with device-based discovery.
Optionalvalue_Defines a template to extract the value from the payload. Useful when the payload isn't a simple value.
Configuration interface for a cover component.