kayjei / adax_wifi

Home assistant integration for Adax Wifi heaters
14 stars 1 forks source link

LOGGER errors #9

Open jchasey opened 4 years ago

jchasey commented 4 years ago

Was getting a few errors in the logs where strings were passed to the _LOGGER function when it was expecting a number. Changing the parameters from %d to %s solved the issue.

File "/config/custom_components/adax_wifi/sensor.py", line 89, in update _LOGGER.debug("Temp is %d for %d", self._state, self._name) File "/config/custom_components/adax_wifi/connect.py", line 22, in do_api_request _LOGGER.debug("API request returned OK %d", req.text)

kayjei commented 4 years ago

Thanks, I'll do the update!