Quantcast
Channel: Configuration - Home Assistant Community
Viewing all articles
Browse latest Browse all 96121

Turn on light when comming home - dosnt work

$
0
0

@andlo wrote:

I try to make an automation that trickers when I come home, but it never does…
It works when I manuel tricker, and I think the problem is because HA dosnt se me enter the home zone. Looking at HA it sees me home so why it dosnt see me enter home I cant figure out…

My automation is this:

- id: '1571595362240'
  alias: Turn on lights when comming home
  description: ''
  trigger:
  - entity_id: person.andreas_lorensen
    event: enter
    platform: zone
    zone: zone.home
  condition:
  - after: sunset
    before: sunrise
    condition: sun
  - condition: state
    entity_id: light.living_room_light
    state: 'off'
  action:
  - device_id: e869b69f1645415f95fad2b626b69cff
    domain: light
    entity_id: light.living_room_light
    type: turn_on
  - device_id: d5611d4fbf2348f6a4453c5d2ed37482
    domain: switch
    entity_id: switch.outlide_light_switch
    type: turn_on
  - device_id: ced7d98974fd4dfd8e17db637fce5734
    domain: switch
    entity_id: switch.stairs_botton_wall_switch
    type: turn_on
  - device_id: 9782589706024062a8f5e25d7b43a14c
    domain: switch
    entity_id: switch.office_table_light_switch
    type: turn_on
  - device_id: 2bba2b1c053841a2b13879db88645e90
    domain: switch
    entity_id: switch.kidsroom_table_light
    type: turn_on

Posts: 5

Participants: 3

Read full topic


Viewing all articles
Browse latest Browse all 96121

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>