Optional
configurationA link to the webpage that can manage the configuration of this device. Can be either an HTTP or HTTPS link.
Optional
connectionsA list of connections of the device to the outside world as a list of tuples [connection_type, connection_identifier]
Optional
hwHardware version of the device
Optional
identifiersA list of IDs that uniquely identify the device. For example a serial number.
Optional
manufacturerManufacturer of the device
Optional
modelModel of the device
Name of the device
Optional
swFirmware version of the device
Optional
viaIdentifier 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.
Protected
propertyMapping of class properties to MQTT payload keys. Merges subclass mappings via super.propertyMap().
Static
createStatic
wholeValidates that either identifiers
or connections
is set.
Information about a device a sensor belongs to