powermon.outputformats.hass module¶
powermon / outputformats / hass.py
- class powermon.outputformats.hass.Hass(config)¶
Bases:
AbstractFormat
formatter to generate home assistant auto config mqtt messages
- format(command: Command, result: Result, device_info) list ¶
entry point for all formats
- get_options()¶
return a dict of all options and defaults