Add support for mqtt birth message

This commit is contained in:
zewelor
2017-12-06 10:14:43 +01:00
parent 2295cdc1df
commit b32897f949
5 changed files with 74 additions and 27 deletions
+14 -8
View File
@@ -2,11 +2,17 @@ mqtt:
host: 192.168.1.1
username: user
password: password
workers:
thermostat:
args:
devices:
bedroom: 00:11:22:33:44:55
topic_prefix: thermostat
topic_subscription: thermostat/+/+/set
update_interval: 60
manager:
topic_subcription:
update_all:
topic: homeassistant/status
payload: online
workers:
thermostat:
args:
devices:
bedroom: 00:11:22:33:44:55
topic_prefix: thermostat
topic_subscription: thermostat/+/+/set
update_interval: 60