Initial commit

This commit is contained in:
zewelor
2017-11-22 17:28:01 +01:00
commit e384a19eff
7 changed files with 92 additions and 0 deletions
+10
View File
@@ -0,0 +1,10 @@
from config import settings
from mqtt import MqttClient
from workers.thermostat import ThermostatWorker
print(settings)
mqtt = MqttClient()
args = settings['workers']['thermostat']['args']
mqtt.publish(ThermostatWorker(**args).status_update())