Im trying to make an automation, but i can’t figure out what I do wrong. The automation should turn on the light (for testing) when I enter the Garage Zone, if these conditions are right.
I’m not home
The light is off (here it would been garage door closed), but for testing I’m using a light
- id: '1605512253242' alias: Kim Driving Home description: trigger: - platform: geo_location source: device_tracker.kims_iphone zone: zone.garage event: enter condition: - condition: device device_id: 106318162e3197e26553d0e6325e93fd domain: device_tracker entity_id: device_tracker.kims_iphone type: is_not_home - condition: and conditions: - condition: state entity_id: sensor.kims_iphone_activity state: Automotive - condition: state entity_id: light.entre_5704285 state: 'off' action: - condition: state entity_id: light.entre_5704285 state: 'on' mode: single