[SOLVED] ZHA lights never unavailable,even if not powered

Hi all

I have some lights that are powered by a normal switch and when I power off the light devices remain in the state they were before.

So it never become unavailable, and when I power off the switch without powering off the light devices, they remain on as state.

This does not happen in Z2M, after a period of time they become unavailble, and that’s fine with me.

Is there any way to have this behavior ?

Thanks

If Z2M is working, then which integration is causing this issue?

Both Z2M & ZHA have a setting for how long a device is unavailable before being reported as such

EDIT: just noticed your title. ZHA has a different timeout setting compared to Z2M

I don’t know which is the ZHA timeout setting, but after an hour the state still remain on

PS:
Just noticed that the timeout for powered device is 7200 secs, so 2 hours.
I have changed to 900 secs and battery powered to 1800 {it was 21600 secs)

Thanks

1 Like