Sensor Shows entities on card but the Battery is removed

Hello
Zigbee2MQTT x86 PC Sonoff usb Stick

Example Frient Smoke Sensor connects to the network ok and reports temp no smoke etc all ok

BUT when I remove the battery (over 12 hours ago) it still shows as being available, although when I go to the network map it does show as not connected

How come it doesnt show as unavailable in the Card

Any ideas, thanks

When you remove the battery the device have no power to tell HA that the battery is dead/removed.
HA can not see if the device is gone due to a battery issue or if it is just in deep sleep.
The Zigbee integrations can be configured with a time value that will assume a device has died, if they do not report in that time period.

Ah interesting thank you

could you point me in the right direction for that setting please

thanks

Sorry no, because I have not set it up and I only run a little Zigbee setup with ZHA, where it is not needed.
I know the setting is there, because I have mentioned it in other threads and others have confirmed it exist. The functionality with setting device to unavailable can not work without that setting.

ok thank you

Active devices (routers or mains powered end devices): by default they have to check-in every 10 minutes. If they don’t, they will be pinged, if that fails the device will be marked as offline.

Passive devices (everything that is not an active device, mostly battery powered devices): these devices need to check-in every 25 hours, they cannot be pinged so if they don’t they will be marked as offline.

1 Like

Ah great, ok thanks