| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103 |
- coverup:
- alias: Cover Up
- sequence:
- - alias: Cancel Down Script
- service: script.turn_off
- data:
- entity_id: script.coverdown
- - alias: Switch Direction Relay ON (upwards)
- service: switch.turn_on
- data:
- entity_id: switch.coverdirection
- - delay:
- seconds: 1
- - alias: Enable Pre Relay
- service: switch.turn_on
- data:
- entity_id: switch.coverenable
- - delay:
- seconds: 90
- - alias: Stop Covers by calling script
- service: script.turn_on
- data:
- entity_id: script.coverstop
-
- coverdown:
- alias: Cover Down
- sequence:
- - alias: Cancel Up Script
- service: script.turn_off
- data:
- entity_id: script.coverup
- - alias: Switch Direction Relay OFF (downwards)
- service: switch.turn_off
- data:
- entity_id: switch.coverdirection
- - delay:
- seconds: 1
- - alias: Enable Pre Relay
- service: switch.turn_on
- data:
- entity_id: switch.coverenable
- - delay:
- seconds: 90
- - alias: Stop Covers by calling script
- service: script.turn_on
- data:
- entity_id: script.coverstop
-
-
- coverposition:
- alias: Cover Position
- sequence:
- - alias: Cancel Down Script
- service: script.turn_off
- data:
- entity_id: script.coverdown
- - alias: Switch Direction Relay ON (upwards)
- service: switch.turn_on
- data:
- entity_id: switch.coverdirection
- - delay:
- seconds: 1
- - alias: Enable Pre Relay
- service: switch.turn_on
- data:
- entity_id: switch.coverenable
- - delay: '00:00:{{delay | int}}'
- - alias: Stop Covers by calling script
- service: script.turn_on
- data:
- entity_id: script.coverstop
-
- coverstop:
- alias: Cover Stop
- sequence:
- - alias: Cancel Down Script
- service: script.turn_off
- data:
- entity_id: script.coverdown
- - alias: Cancel Up Script
- service: script.turn_off
- data:
- entity_id: script.coverup
- - alias: Disable Pre Relay
- service: switch.turn_off
- data:
- entity_id: switch.coverenable
- - delay:
- seconds: 2
- - alias: Switch Direction Relay OFF (does not matter, but saves power)
- service: switch.turn_off
- data:
- entity_id: switch.coverdirection
-
- fadein:
- alias: Fade In LEDs
- sequence:
- - alias: Turn on with transition
- service: light.turn_on
- data:
- entity_id: light.led_strip
- brightness: 255
- transition: 5
|