UniversalDevicesInc-PG3 / udi-poly-ELK

MIT License
2 stars 1 forks source link

Zone system trouble error on startup is not cleared. #91

Open jimboca opened 1 year ago

jimboca commented 1 year ago

This error increments the node server error count, but it's not cleared later

2022-11-14 19:15:23,385 ELK-31297  udi_interface      ERROR    Controller:set_system_trouble_status: ELK Controller: Got zone system trouble "['Transmitter Low Battery']" for unconfigured zone 23 this can happen on startup, will try to clear it when zone comes online

Even though the trouble is later cleared:

2022-11-14 19:16:44,824 Thread-99  udi_interface      WARNING  Zone:set_system_trouble_status: zone_23:Shed Door: Setting System Trouble Status Zone for: Transmitter Low Battery=True

Either don't increment error, or add decrement when it's cleared if possible.