Man sollte auf auch das Topic write topic schreiben ;)

This commit is contained in:
2020-11-29 07:45:18 +01:00
parent 7a2e58a202
commit 495a3fa9eb

View File

@@ -1,5 +1,5 @@
SERVICE_NAME = "Weihnachtsbeleuchtung"
SERVICE_VERSION = "1.0.0"
SERVICE_VERSION = "1.0.1"
function thrawn_on_start()
thrawn_register_service(SERVICE_NAME)
@@ -15,9 +15,9 @@ function thrawn_on_update(state)
end
function on_activtate(time)
thrawn_publish("kueche/lights/girlande/on", "1")
thrawn_publish("kueche/lights/girlande/on/set", "1")
end
function on_deactivate(time)
thrawn_publish("kueche/lights/girlande/on", "0")
thrawn_publish("kueche/lights/girlande/on/set", "0")
end