Koenkk / zigbee2mqtt

Zigbee 🐝 to MQTT bridge 🌉, get rid of your proprietary Zigbee bridges 🔨
https://www.zigbee2mqtt.io
GNU General Public License v3.0
12.17k stars 1.68k forks source link

All linkquality entities are missing in HA #11609

Closed illivanillie closed 2 years ago

illivanillie commented 2 years ago

What happened?

All "sensor.xy_linkquality" entities are missing in home assistant after I upgraded from 1.19 to the lastest update.

What did you expect to happen?

I would like to have them back please.

How to reproduce it (minimal and precise)

I upgraded from 1.19 to the lastest version.

Zigbee2MQTT version

1.23.0

Adapter firmware version

20210708

Adapter

CC26X2R1

Debug log

log.txt

Koenkk commented 2 years ago

Looking at your logs, they are still being discovered:

info  2022-02-25 07:57:42: MQTT publish: topic 'homeassistant/sensor/0xbc33acfffeb1fc0a/linkquality/config', payload '{"availability":[{"topic":"zigbee2mqtt/bridge/state"},{"topic":"zigbee2mqtt/LED Panel SV/availability"}],"availability_mode":"all","device":{"identifiers":["zigbee2mqtt_0xbc33acfffeb1fc0a"],"manufacturer":"IKEA","model":"FLOALT LED light panel, dimmable, white spectrum (60x60 cm) (L1529)","name":"LED Panel SV","sw_version":"2.3.068"},"enabled_by_default":false,"entity_category":"diagnostic","icon":"mdi:signal","json_attributes_topic":"zigbee2mqtt/LED Panel SV","name":"LED Panel SV linkquality","state_class":"measurement","state_topic":"zigbee2mqtt/LED Panel SV","unique_id":"0xbc33acfffeb1fc0a_linkquality_zigbee2mqtt","unit_of_measurement":"lqi","value_template":"{{ value_json.linkquality }}"}'

Probably the sensors are disabled in HA and you have to enable them there.

illivanillie commented 2 years ago

They seem to be activated, but have the attribute "restored: true"

restored: true
state_class: measurement
supported_features: 0
unit_of_measurement: lqi
friendly_name: Bewegungsmelder B1 linkquality
icon: mdi:signal

Maybe I sent you the wrong logs. Here are the latest ones. log-2.txt

Edit: Battery and update entities are also missing

illivanillie commented 2 years ago

My HA Core version was from autumn last year.. everything seems to work after upgrading. Thank you for your help and sorry to bother you!