claudegel / sinope-130

Neviweb130 custom component for Home Assistant to manage devices connected via a GT130 and wifi devices from Sinopé
GNU General Public License v3.0
73 stars 15 forks source link

frequent Updating error code in warning log #90

Closed chdagenais closed 2 years ago

chdagenais commented 2 years ago

is this expected behavior to show this warning so frequently in the log if no error code ? looks like it's logged on pretty much each update

Logger: custom_components.neviweb130.climate
Source: custom_components/neviweb130/climate.py:902
Integration: Sinope Neviweb130 (documentation)
First occurred: 7 août 2022 à 22:18:12 (434 occurrences)
Last logged: 09:53:20

Updating error code: {'referenceSensor': 'ok', 'compensationSensor': 'ok', 'airSensor': 'ok', 'wireSensor': 'ok', 'currentOverload': 'ok', 'thermalOverload': 'ok', 'loadError': 'ok', 'endOfLife': False}

line 902

claudegel commented 2 years ago

Hi, this logging come from when I've added support for error message from climate devices on Neviweb. You can comment out the line 902 safely by adding a «#» in front of it. I'll remove it on next release. Thank you for letting me know about it.

claudegel commented 2 years ago

I've published version 1.4.1 to clean unnecessary logging. Thank you. Let me know if you find other logging that are useless