Shelly Plus Smoke last_updated

Hi everyone,

I have integrated several Shelly Plus Smoke devices into HA using the Shelly integration. Alarms are received, and the battery status is updated. But very rarely.

However, I would like to check whether the smoke detector reports every 24 hours. However, the last_updated state attribute is not updated. Is there a way to check whether the smoke detector is active?

last_updated only changes if a state or attribute changes.

You can check if last_reported has a different value.

I would also expect the entity to go unavailable if it goes so long without a report… but I don’t know what that timeout is set to.

As karwosts states, the device status will go unavailable if the shelly smoke does not report to the HA shelly integration within a fixed time period (typically 21600 seconds or ~ 6 hours).

I use this to be notified immediately if the device (or any device) goes into the unavailable state: unavailable-entities-sensor/README.md at 365442fb206f4ff8d1536806b2e0569ebb823673 · jazzyisj/unavailable-entities-sensor · GitHub.

Edit: A similar discussion can be found here: Shelly Smoke won't update.