From ecf047ca0cf60ed875147904d66834220683bbfc Mon Sep 17 00:00:00 2001 From: Dreaded_X Date: Wed, 7 Aug 2024 23:20:55 +0200 Subject: [PATCH] Updated hue ip --- config.lua | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/config.lua b/config.lua index d632e1a..c100e65 100644 --- a/config.lua +++ b/config.lua @@ -49,7 +49,7 @@ automation.device_manager:add(DebugBridge.new({ client = mqtt_client, })) -local hue_ip = "10.0.0.146" +local hue_ip = "10.0.0.136" local hue_token = automation.util.get_env("HUE_TOKEN") automation.device_manager:add(HueBridge.new({ @@ -187,7 +187,8 @@ automation.device_manager:add(ContactSensor.new({ local function trash_action(device) local previous = device:is_on() - local function f(closed) + local function f(_, closed) + print(_) if closed then if not previous then device:set_on(false)