Removed unused event code

This commit is contained in:
2025-08-31 05:01:56 +02:00
parent eb36d41f17
commit 4980f4888e
3 changed files with 1 additions and 8 deletions

View File

@@ -31,7 +31,6 @@ local mqtt_client = automation.new_mqtt_client({
local ntfy = Ntfy.new({
topic = automation.util.get_env("NTFY_TOPIC"),
event_channel = automation.device_manager:event_channel(),
})
automation.device_manager:add(ntfy)
@@ -251,7 +250,6 @@ automation.device_manager:add(Washer.new({
topic = mqtt_z2m("bathroom/washer"),
client = mqtt_client,
threshold = 1,
event_channel = automation.device_manager:event_channel(),
done_callback = function()
ntfy:send_notification({
title = "Laundy is done",