OptionalconfigurationA link to the webpage that can manage the configuration of this device. Can be either an HTTP or HTTPS link.
OptionalconnectionsA list of connections of the device to the outside world as a list of tuples [connection_type, connection_identifier]
OptionalhwHardware version of the device
OptionalidentifiersA list of IDs that uniquely identify the device. For example a serial number.
OptionalmanufacturerManufacturer of the device
OptionalmodelModel of the device
Name of the device
OptionalswFirmware version of the device
OptionalviaIdentifier of a device that routes messages between this device and Home Assistant. Examples of such devices are hubs, or parent devices of a sub-device. This is used to show device topology in Home Assistant.
ProtectedpropertyMapping of class properties to MQTT payload keys. Merges subclass mappings via super.propertyMap().
StaticcreateStaticwholeValidates that either identifiers or connections is set.
Information about a device a sensor belongs to