AbstractProtectedattributesProtected OptionalavailabilityProtectedconfigReadonlyentityProtectedentityProtected ReadonlysettingsProtectedstateProtectedwroteProtectedloggerProtectedmqttProtected_state_ProtecteddebugProtectedinitProtectedpublishRegister 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
Specialized subclass that listens to commands coming from an MQTT topic