// When availability is configured, this controls the conditions needed to set the entity to available. Valid entries are all, any, and latest. If set to all, payload_available must be received on all configured availability topics before the entity is marked as online. If set to any, payload_available must be received on at least one configured availability topic before the entity is marked as online. If set to latest, the last payload_available or payload_not_available received on any configured availability topic controls the availability.
// Defines a template to extract device’s availability from the availability_topic. To determine the devices’s availability result of this template will be compared to payload_available and payload_not_available.
// Information about the device this Update is a part of to tie it into the device registry. Only works through MQTT discovery and when unique_id is set. At least one of identifiers or connections must be present to identify the device.
DeviceDevice`json:"device,omitempty"`
// The type/class of the update to set the icon in the frontend.
// The MQTT topic subscribed to receive a JSON dictionary payload and then set as entity attributes. Implies force_update of the current select state when a message is received on this topic.
// The MQTT topic subscribed to receive state updates. The state update may be either JSON or a simple string with installed_version value. When a JSON payload is detected, the state value of the JSON payload should supply the installed_version and can optional supply: latest_version, title, release_summary, release_url or an entity_picture URL.
StateTopicString`json:"state_topic,omitempty"`
// Title of the software, or firmware update. This helps to differentiate between the device or entity name versus the title of the software installed.
TitleString`json:"title,omitempty"`
// An ID that uniquely identifies this Select. If two Selects have the same unique ID Home Assistant will raise an exception.
UniqueIdString`json:"unique_id,omitempty"`
// Defines a template to extract the installed_version state value or to render to a valid JSON payload on from the payload received on state_topic.