Hey Everyone I managed to setup most of my automations and they are up and running but i have 3 switches that seem to be ready in automation configurator , made them there also but I dont see them running anyone wanna take a look and tell me what he saw?
number 1 :
- id: '1561742432806'
alias: Irrigation turn on, then off 10 minutes later
trigger:
- event: sunset
platform: sun
condition:
- condition: state
entity_id: calendar.summer_automations
state: 'on'
- condition: or
conditions:
- condition: state
entity_id: weather.dark_sky
state: clear
- condition: state
entity_id: weather.dark_sky
state: cloudy
- condition: state
entity_id: weather.dark_sky
state: partlycloudy
action:
- data:
entity_id: switch.sonoff_10004115ce
service: switch.turn_on
- delay: 00:10:00
- data:
entity_id: switch.sonoff_10004115ce
service: switch.turn_off
number 2 :
- id: '1561720526293'
alias: Livingroom Table Lamp On
trigger:
- event: sunset
platform: sun
condition: []
action:
- delay: 'minutes: 10'
- data:
entity_id: switch.sonoff_1000412685
service: switch.turn_on
and number 3 :
- id: '1561727021804'
alias: Summer Shadow 3 up turn on, then off 3 minutes later
trigger:
- above: '35'
below: '36'
entity_id: sun.sun
platform: numeric_state
value_template: '{{state.attributes.elevation}}'
condition:
- condition: state
entity_id: calendar.summer_automations
state: 'on'
- after: '16:30:00'
condition: time
action:
- data:
entity_id: switch.sonoff_10005b7999_4
service: switch.turn_on
- delay: 00:02:00
- data:
entity_id: switch.sonoff_10005b7999_4
service: switch.turn_off
to most of my automation delay actions seems to work , so is the sunset , should I write offset? calendar condition works also for most of my automations I just dont get it , maybe the switches doesnt work with that?