Open JvdMaat opened 1 year ago
To add to this.. Can the update switch be a permanent entity? And just show as inactive (or off, whatever) when there's no update.
I now have this in my Lovelace:
I'd like to base an automation or conditional entry on this, and that's really hard when the entity only exists when there's an update, and goes the way of the dodo once the update is installed.
Environment
Describe the bug
I have four Shelly devices. The Shelly Gas and Shelly RGBW create firmware_update switches and work fine. However the Shelly Plus 1PM and Shelly Plus 2PM both have new firmware available, but no firmware_update switch is created in HA.
Steps to Reproduce
Log in to Shelly Plus 1PM web interface, firmware shows available:![image](https://user-images.githubusercontent.com/90044149/187937754-05abc5a8-afc2-42da-94e2-1327a116d3eb.png)
Of note (Not sure how relevant this is). The Shelly Gas and RGBW2 both had a red icon over the Settings menu button in the web GUI. For the Shelly Plus devices it is in the Device menu instead of Settings, and there is no icon juxtaposed over the menu alerting on the firmware update.
Expected behavior
firmware_update switch is created when a new firmware is available
Screenshots
Traceback/Error logs
Additional context