safepay / sensor.fronius

A Fronius Sensor for Home Assistant
MIT License
80 stars 32 forks source link

Errors filling up the log file after upgrade to .109 #30

Closed jaganath-b closed 4 years ago

jaganath-b commented 4 years ago

Hi,

Since my upgrade to.109, i could see this error filling up my log files. Everything else is working fine though.

2020-05-08 09:33:14 WARNING (MainThread) [homeassistant.util.async_] Detected I/O inside the event loop. This is causing stability issues. Please report issue to the custom component author for fronius_inverter doing I/O at custom_components/fronius_inverter/sensor.py, line 325: result = requests.get(self._buildurl(), timeout=10).json() 2020-05-08 09:33:15 WARNING (MainThread) [homeassistant.util.async] Detected I/O inside the event loop. This is causing stability issues. Please report issue to the custom component author for fronius_inverter doing I/O at custom_components/fronius_inverter/sensor.py, line 356: result = requests.get(self._build_url(), timeout=10).json()

Current Version : 0.9.2

Any help is greatly appreciated

jaganath-b commented 4 years ago

Hi.i just saw your message in the community forum to copy the latest sensor.py file. Seems to be working fine after the fix. Thanks for your help