Changed entity to _2
This commit is contained in:
@@ -6,22 +6,30 @@
|
|||||||
platform: time
|
platform: time
|
||||||
at: "06:00:00"
|
at: "06:00:00"
|
||||||
condition:
|
condition:
|
||||||
- condition: state # from sunset until sunrise
|
- condition: numeric_state
|
||||||
entity_id: sun.sun
|
entity_id: sensor.indkorsel_sensor_illuminance
|
||||||
state: 'below_horizon'
|
below: 90
|
||||||
|
# - condition: state # from sunset until sunrise
|
||||||
|
# entity_id: sun.sun
|
||||||
|
# state: 'below_horizon'
|
||||||
action:
|
action:
|
||||||
- service: light.turn_on
|
- service: light.turn_on
|
||||||
data:
|
data:
|
||||||
entity_id: light.indkorsel
|
entity_id: light.indkorsel_2
|
||||||
|
|
||||||
- alias: 'Sluk lys indkørsel morgen'
|
- alias: 'Sluk lys indkørsel morgen'
|
||||||
trigger:
|
trigger:
|
||||||
platform: sun
|
platform: numeric_state
|
||||||
event: sunrise
|
entity_id: sensor.indkorsel_sensor_illuminance
|
||||||
|
below: 90
|
||||||
|
for:
|
||||||
|
minutes: 3
|
||||||
|
# platform: sun
|
||||||
|
# event: sunrise
|
||||||
action:
|
action:
|
||||||
- service: light.turn_off
|
- service: light.turn_off
|
||||||
data:
|
data:
|
||||||
entity_id: light.indkorsel
|
entity_id: light.indkorsel_2
|
||||||
|
|
||||||
- alias: 'Tænd lys indkørsel aften'
|
- alias: 'Tænd lys indkørsel aften'
|
||||||
trigger:
|
trigger:
|
||||||
@@ -33,7 +41,7 @@
|
|||||||
action:
|
action:
|
||||||
- service: light.turn_on
|
- service: light.turn_on
|
||||||
data:
|
data:
|
||||||
entity_id: light.indkorsel
|
entity_id: light.indkorsel_2
|
||||||
|
|
||||||
- alias: 'Sluk lys indkørsel aften'
|
- alias: 'Sluk lys indkørsel aften'
|
||||||
trigger:
|
trigger:
|
||||||
@@ -42,7 +50,7 @@
|
|||||||
action:
|
action:
|
||||||
- service: light.turn_off
|
- service: light.turn_off
|
||||||
data:
|
data:
|
||||||
entity_id: light.indkorsel
|
entity_id: light.indkorsel_2
|
||||||
|
|
||||||
|
|
||||||
- alias: 'Tænd lys indkørsel ved bevægelse'
|
- alias: 'Tænd lys indkørsel ved bevægelse'
|
||||||
@@ -54,13 +62,18 @@
|
|||||||
- condition: time
|
- condition: time
|
||||||
after: '22:00:10'
|
after: '22:00:10'
|
||||||
before: '05:54:00'
|
before: '05:54:00'
|
||||||
- condition: state
|
- condition: numeric_state
|
||||||
entity_id: sun.sun
|
entity_id: sensor.indkorsel_sensor_illuminance
|
||||||
state: below_horizon
|
below: 80
|
||||||
|
# for:
|
||||||
|
# minutes: 3
|
||||||
|
# - condition: state
|
||||||
|
# entity_id: sun.sun
|
||||||
|
# state: below_horizon
|
||||||
action:
|
action:
|
||||||
- service: light.turn_on
|
- service: light.turn_on
|
||||||
data:
|
data:
|
||||||
entity_id: light.indkorsel
|
entity_id: light.indkorsel_2
|
||||||
|
|
||||||
- alias: 'Sluk lys indkørsel 15 min efter bevægelse'
|
- alias: 'Sluk lys indkørsel 15 min efter bevægelse'
|
||||||
trigger:
|
trigger:
|
||||||
@@ -79,6 +92,6 @@
|
|||||||
action:
|
action:
|
||||||
service: light.turn_off
|
service: light.turn_off
|
||||||
data:
|
data:
|
||||||
entity_id: light.indkorsel
|
entity_id: light.indkorsel_2
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user