Initial commit
This commit is contained in:
+10
@@ -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())
|
||||
Reference in New Issue
Block a user