StyraHem / ShellyForHASS

Shelly smart home platform for Home Assistant
MIT License
616 stars 111 forks source link

[BUG] No Update switch for new firmware for Shelly Plus 1PM & 2PM #709

Open JvdMaat opened 1 year ago

JvdMaat commented 1 year ago

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

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

image

Traceback/Error logs

Additional context

JvdMaat commented 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: image 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.