Updated hue ip
Some checks failed
Build and deploy / Build container (push) Blocked by required conditions
Build and deploy / Deploy container (push) Blocked by required conditions
Build and deploy / Build application (push) Has been cancelled

This commit is contained in:
Dreaded_X 2024-08-07 23:20:55 +02:00
parent 29e779b023
commit ecf047ca0c
Signed by: Dreaded_X
GPG Key ID: FA5F485356B0D2D4

View File

@ -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)