In new release 2.4.1 lost in temperature sensors zigbee attribute "battery_level"
I update to new release Change my config in lovelace from "battery" to "battery_level" and in all temperature sensors (SNZB-02 zigbee device) not show atribute "battery_level" (only cloud - online) Zigbee button (SNZB-01) is show only battery level and not show "cloud"

Same issue.
Same here.
Простите. Я в этом форуме новенький. Не могу понять - исправили-ли проблему с исчезновением атрибута battery из датчиков температуры ZigBee SonOff?
Same here.
I will need to stay on 2.4.0 until this is resolved.

Fix was posted for this. Worked for me.
Fix was posted for this. Worked for me.
I missed that. Can you share the link?
https://github.com/AlexxIT/SonoffLAN/commit/2653908b47ebb996de753d56feecc4cc2268af44
Thanks.
I am not sure how it works though. Do we need to edit the config ourselves now to add that? I would have expected 2.4.2 to be released with that fix. Is that what we should wait for or edit something manually?
Sorry if it's a dumb question but I prefer to update the package using HACS rather than go fishing under the hood myself.
I see now. Maybe we need to manually edit custom_components/sonoff/sensor.py
OK, I took a brave pill and edited sensor.py in nano. All is working perfectly and the battery readings are visible once again. Thanks for the gentle encouragement @TheSilentOn3
You can install master version via HACS reinstall option
You can install master version via HACS reinstall option
I did try installing 2.4.1 again today but it did not show the battery percentages. The Screenshots I posted above are from today using 2.4.0 and 2.4.1
Some temperature sensors in 2.4.2 work good , i see battery level , and some temperature not show battery . In zigbee button show only battery and not show cloud status
I confirm that 2.4.2 is showing the battery level again normally for my temp/humidity and door open/closed sensors. I cannot comment on button because I do not have one.
I confirm battery level is showing in button device.
Fixed https://github.com/AlexxIT/SonoffLAN/releases/tag/v2.4.2