behnam85
(Behnam85)
June 28, 2025, 9:39am
1
I am using the cover component in ESPHome along with the built-in web_server:.
The cover entity does appear in the ESPHome Web UI (via browser), but it does not function properly:
The open, close, and stop buttons are visible, but pressing them has no effect.
The cover position and state are not updated.
Everything works fine in Home Assistant, so the configuration and hardware setup are correct.
behnam85
(Behnam85)
June 28, 2025, 8:05pm
3
this in Chrome console:
www.js:3 Uncaught (in promise) Error: invalid template strings array
at Ho (www.js:3:339 )
at na (www.js:3:1075 )
at new we (www.js:3:1240 )
at De.$AC (www.js:3:4781 )
at De.g (www.js:3:4482 )
at De. $AI (www.js:3:4136 )
at ha (www.js:3:7488 )
at Ro.update (www.js:3:7893 )
at Ro.performUpdate (www.js:1:6258 )
at Ro.scheduleUpdate (www.js:1:5910 )
www.js:3
Response {type: ‘basic’, url: ‘http://192.168.2.178/cover/right_cover?detail=all ’, redirected: false, status: 200, ok: true, …}
www.js:3
{id: ‘cover-right_cover’, name: ‘Right Cover’, icon: ‘’, entity_category: 0, value: 0, …}
behnam85
(Behnam85)
June 29, 2025, 10:57am
5
The log appears normal when I control it from Home Assistant (HA), but when I control it from the web, no logs appear at all.
Karosm
(Karosm)
June 29, 2025, 11:06am
6
Then you have logger disabled or you use webserver version 3 and you have logs turned off.
Feel free to post your yaml here.
behnam85
(Behnam85)
June 29, 2025, 11:17am
7
assumed_state
works correctly in Home Assistant (HA), but it doesn’t work properly on the web server.
behnam85
(Behnam85)
June 29, 2025, 11:20am
8
I think the issue might be related to what I mentioned above.
behnam85
(Behnam85)
June 29, 2025, 11:41am
9
It works correctly in Web Server version 2, but it doesn’t work properly in version 3.