1
0
mirror of https://github.com/esphome/esphome.git synced 2025-10-30 14:43:51 +00:00

Add cover toggle support to endstop cover (#3358)

This commit is contained in:
rrooggiieerr
2022-04-11 00:55:45 +02:00
committed by GitHub
parent a2d0c1bf18
commit 9e3e34acf5
3 changed files with 20 additions and 0 deletions

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