Abstract
Optional
onConnect: (client: MqttClient) => voidProtected
attributesProtected
Optional
availabilityProtected
configReadonly
entityProtected
entityProtected
Readonly
settingsProtected
stateProtected
wroteProtected
loggerProtected
mqttProtected
_state_Protected
debugProtected
generateProtected
initRegister the entity within Home Assistant
This method will throw an error if the availability topic is not set
Unregister the entity from Home Assistant
Writes the configuration to the MQTT broker
Base class for making MQTT discoverable objects