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

Add cover toggle support to current based cover (#3950)

This commit is contained in:
maringeph
2022-11-09 21:40:13 +01:00
committed by GitHub
parent 3d927c2f44
commit dc17c47634
3 changed files with 21 additions and 0 deletions

View File

@@ -884,6 +884,7 @@ binary_sensor:
then:
- cover.toggle: time_based_cover
- cover.toggle: endstop_cover
- cover.toggle: current_based_cover
- platform: hydreon_rgxx
hydreon_rgxx_id: hydreon_rg9
too_cold:
@@ -1246,6 +1247,7 @@ cover:
close_duration: 4.5min
- platform: current_based
name: Current Based Cover
id: current_based_cover
open_sensor: ade7953_current_a
open_moving_current_threshold: 0.5
open_obstacle_current_threshold: 0.8