Skip to content
This repository has been archived by the owner on Feb 3, 2021. It is now read-only.

LOGGER errors #9

Open
jchasey opened this issue Apr 9, 2020 · 1 comment
Open

LOGGER errors #9

jchasey opened this issue Apr 9, 2020 · 1 comment

Comments

@jchasey
Copy link

jchasey commented Apr 9, 2020

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
Copy link
Owner

kayjei commented Apr 16, 2020

Thanks, I'll do the update!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants