[web_server] Add assumed_state to cover JSON detail (#16800)

Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
This commit is contained in:
Daniele Palumbo
2026-07-27 14:01:45 +12:00
committed by GitHub
co-authored by Jesse Hills
parent 67e0058e72
commit 91cbcab25e
2 changed files with 12 additions and 0 deletions
+11
View File
@@ -4,6 +4,17 @@ wifi:
binary_sensor:
cover:
- platform: template
name: "Template Cover Assumed"
# assumed_state must be reflected in the web_server JSON (detail=all)
assumed_state: true
lambda: 'return COVER_OPEN;'
open_action:
- logger.log: open_action
close_action:
- logger.log: close_action
stop_action:
- logger.log: stop_action
fan:
light:
sensor: