Open luzik opened 7 months ago
I observe the same behaviour. EspHome 2024.4.0 - HomeAssistant 2024.4.3.
Is your workaround functional?
Yeah it's quite robust, but it is written for one button control
Same here. Feedback cover with single sensor for closed. I'm going to borrow your example and see if that works for me, but I find it odd that this basic setup doesn't work as expected.
Edit, I've been hacking away at the example for a couple of hours and I can't get it to work right. Works fine when controlled from homeassistant/esphome. But when I use the physical button the door starts opening, the reed switch opens, esp sets cover to 1% and then it fires the relay a couple of times in the opening and a stop sequence. Door stops moving an inch above closed.
The problem
When Feedback Cover have configured close_endstop, cover is closed and then close_endstop change it's state to OFF without opening cover with ESP (for example manual open or even bad guys brake in) - Home Assistant still reporting closed state.
Other HomeAssistant Cover backends with close_endstop sensor in this situation changes it's position to 1%. 1% is used also in other situations ex. when close_endstop is configured, we are closing but close_endstop not changing it's state to ON, so the user know that in this situation position is unknown but for sure cover is open and this is quite important information - even involving home security.
Which version of ESPHome has the issue?
2023.12.8
What type of installation are you using?
Docker
Which version of Home Assistant has the issue?
2024.1
What platform are you using?
ESP8266
Board
No response
Component causing the issue
Feedback Cover
Example YAML snippet
Anything in the logs that might be useful for us?
No response
Additional information
No response