Hi @Mimiix I would have said is a issue with HA but the device looks different in Deconz. I have 20 others Aqara door sensors and all look the same and behave ok.
For now the entity seems to be there and did not vanished.
Thank you so much for all your support.
HA restart and is gone Odd is that is just the main sensor, temperature is OK… It is very similar with the leak sensors issue to me… In both cases temperature and battery are there but the main sensor is gone.
I think this error from HA logs is what is causing the entity not to be available
First occurred: September 16, 2023 at 19:28:38 (1 occurrences)
Last logged: September 16, 2023 at 19:28:38
Error while setting up deconz platform for binary_sensor
Traceback (most recent call last):
File “/usr/src/homeassistant/homeassistant/helpers/entity_platform.py”, line 359, in _async_setup_platform
File “/usr/src/homeassistant/homeassistant/components/deconz/binary_sensor.py”, line 221, in async_setup_entry
File “/usr/src/homeassistant/homeassistant/components/deconz/gateway.py”, line 182, in register_platform_add_device_callback
File “/usr/src/homeassistant/homeassistant/components/deconz/gateway.py”, line 172, in async_add_device
File “/usr/src/homeassistant/homeassistant/components/deconz/binary_sensor.py”, line 216, in async_add_sensor
) or description.value_fn(sensor) is None:
File “/usr/src/homeassistant/homeassistant/components/deconz/binary_sensor.py”, line 129, in
value_fn=lambda device: device.open,
File “/usr/local/lib/python3.11/site-packages/pydeconz/models/sensor/open_close.py”, line 28, in open
I think indeed the Home assistant is responsible for this code and for whatever reason it fails.