HueLight is now HueGroup and uses a scene to turn the light on, the contact sensor will also not override the current light state if it is already on
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
@@ -93,15 +93,16 @@ room = "Workbench"
|
||||
topic = "zigbee2mqtt/workbench/outlet"
|
||||
|
||||
|
||||
[device.hallway_light]
|
||||
type = "HueLight"
|
||||
[device.hallway_lights]
|
||||
type = "HueGroup"
|
||||
ip = "10.0.0.146"
|
||||
login = "${HUE_TOKEN}"
|
||||
light_id = 16
|
||||
group_id = 81
|
||||
scene_id = "3qWKxGVadXFFG4o"
|
||||
timer_id = 1
|
||||
|
||||
[device.hallway_frontdoor]
|
||||
type = "ContactSensor"
|
||||
topic = "zigbee2mqtt/hallway/frontdoor"
|
||||
presence = { topic = "automation/presence/contact/frontdoor", timeout = 900 }
|
||||
trigger = { devices = ["hallway_light"], timeout = 60 }
|
||||
trigger = { devices = ["hallway_lights"], timeout = 60 }
|
||||
|
||||
@@ -95,15 +95,16 @@ room = "Workbench"
|
||||
topic = "zigbee2mqtt/workbench/outlet"
|
||||
|
||||
|
||||
[device.hallway_light]
|
||||
type = "HueLight"
|
||||
[device.hallway_lights]
|
||||
type = "HueGroup"
|
||||
ip = "10.0.0.146"
|
||||
login = "${HUE_TOKEN}"
|
||||
light_id = 16
|
||||
group_id = 81
|
||||
scene_id = "3qWKxGVadXFFG4o"
|
||||
timer_id = 1
|
||||
|
||||
[device.hallway_frontdoor]
|
||||
type = "ContactSensor"
|
||||
topic = "zigbee2mqtt/hallway/frontdoor"
|
||||
presence = { topic = "automation_dev/presence/contact/frontdoor", timeout = 10 }
|
||||
trigger = { devices = ["hallway_light"], timeout = 10 }
|
||||
trigger = { devices = ["hallway_lights"], timeout = 10 }
|
||||
|
||||
Reference in New Issue
Block a user