mirror of
https://github.com/esphome/esphome.git
synced 2026-09-13 00:07:32 +00:00
91219375e1af9552d35261ff1d3ac5538fccc444
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
592 MiB
Languages
C++
55.8%
Python
43.6%
C
0.3%
JavaScript
0.2%
