Add cover toggle support to endstop cover (#3358)

This commit is contained in:
rrooggiieerr
2022-04-11 10:55:45 +12:00
committed by GitHub
parent a2d0c1bf18
commit 9e3e34acf5
3 changed files with 20 additions and 0 deletions
+2
View File
@@ -795,6 +795,7 @@ binary_sensor:
on_press:
then:
- cover.toggle: time_based_cover
- cover.toggle: endstop_cover
- platform: template
id: 'pzemac_reset_energy'
on_press:
@@ -1060,6 +1061,7 @@ climate:
cover:
- platform: endstop
name: Endstop Cover
id: endstop_cover
stop_action:
- switch.turn_on: gpio_switch1
open_endstop: my_binary_sensor