cover pcf test

This commit is contained in:
Paweł Szafer
2022-11-08 20:45:21 +01:00
parent bd0cf35bac
commit 0dbdebb98d
3 changed files with 94 additions and 2 deletions

View File

@@ -0,0 +1,32 @@
cover:
- platform: time_based
name: "${node_name} Cover 01"
device_class: cover
id: cover_01
open_action:
- switch.turn_off: cover_close_01
- switch.turn_on: cover_open_01
open_duration: 60s
close_action:
- switch.turn_off: cover_open_01
- switch.turn_on: cover_close_01
close_duration: 60s
stop_action:
- switch.turn_off: cover_open_01
- switch.turn_off: cover_close_01
- platform: time_based
name: "${node_name} Cover 02"
device_class: cover
id: cover_02
open_action:
- switch.turn_off: cover_close_02
- switch.turn_on: cover_open_02
open_duration: 60s
close_action:
- switch.turn_off: cover_open_02
- switch.turn_on: cover_close_02
close_duration: 60s
stop_action:
- switch.turn_off: cover_open_02
- switch.turn_off: cover_close_02