stas-demydiuk / domoticz-zigbee2mqtt-plugin

zigbee2mqtt plugin for domoticz
MIT License
136 stars 98 forks source link

since 3.1.0-beta non battrey powered device are created with battery flag and level to 0 #703

Closed JL-Dive closed 3 years ago

JL-Dive commented 3 years ago

Issue description since 3.1.0-beta non battrey powered device are created with battery flag and level to 0 it create false notification at plugins start.

Additional information Domoticz Version: 2021.1 (build 13491) Build Hash: 9afde0154 Compile Date: 2021-08-31 16:11:40 dzVents Version: 3.1.8 Python Version: 3.7.3 (default, Jan 22 2021, 20:04:44) [GCC 8.3.0]

plugin: v.3.1.0-beta, zigbee2mqtt: v.1.21.0 (zStack3x0 20210708)

Logs 2021-09-09 14:00:01.334 Status: Notification: Battery Low: LED-canape-01 (Light) (Level: Low) 2021-09-09 14:00:01.334 Status: Notification: Battery Low: LED-salleamanger (Light) (Level: Low) 2021-09-09 14:00:01.334 Status: Notification: Battery Low: LED-escalier-01 (Light) (Level: Low) 2021-09-09 14:00:01.334 Status: Notification: Battery Low: LED-couloir-1 (Light) (Level: Low) 2021-09-09 14:00:01.335 Status: Notification: Battery Low: LED-couloir-2 (Light) (Level: Low) 2021-09-09 14:00:01.335 Status: Notification: Battery Low: LED-sdb-a-2 (Light) (Level: Low) 2021-09-09 14:00:01.335 Status: Notification: Battery Low: LED-sdb-a-1 (Light) (Level: Low)

dobber81 commented 3 years ago

With domoticz 13495 I don't get the above "battery flag on non-battery devices" any more. Anyone else who can confirm?

JL-Dive commented 3 years ago

i confirm after upgrade to domoticz 13495 and re creating devices it s ok