Hi there I am trying to use my phone based tracker to turn off a light when i leave and a turn on a light when arrive
This is what i have come up with so far but it ant working
id: ‘WLED light on’
alias: Turn on the light when I arrive Home
description: ‘’
trigger:
-
entity_id: sensor.sm_g960f_geocoded_location
event: enter
platform: zone
zone: zone.home
condition: []
action:
-
brightness_pct: 100
device_id: 348d322543ac43c5b2babddd9b47ba5b
domain: light
entity_id: light.wledaj
effect: Solid
hs_color:
- 300
- 100
intensity: 100
speed: 15
type: turn_on
mode: single
-
id: ‘WLED light off’
alias: Turn off the lights when I leave home
description: ‘’
trigger:
-
entity_id: sensor.sm_g960f_geocoded_location
event: leave
platform: zone
zone: zone.home
condition: []
action:
- type: turn_off
mode: single
-