mirror of
https://github.com/esphome/esphome.git
synced 2026-09-11 15:27:33 +00:00
frenck/web-server-cover-assumed-state
cover_json_() did not serialize the assumed_state flag in the DETAIL_ALL JSON, unlike switch_json_() which already emits it. Consumers of the web server JSON/SSE API could not tell whether a cover's state is assumed, causing a web vs native-API inconsistency (the native API exposes the flag, so Home Assistant behaves correctly, but the web UI does not). Emit assumed_state from the cover's traits, matching the switch.
Description
ESPHome is a system to control your ESP8266/ESP32 by simple yet powerful configuration files and control them remotely through Home Automation systems.
Readme
Multiple Licenses
593 MiB
Languages
C++
55.8%
Python
43.6%
C
0.3%
JavaScript
0.2%
