weltmeyer / ha_sonnenbatterie

Homeassistant integration to show many stats of Sonnenbatterie
GNU General Public License v3.0
56 stars 28 forks source link

Integration causes warnings #1

Closed yolani closed 3 years ago

yolani commented 3 years ago

I don't know if your are accepting issues, but I thought I might give it a try. The integration is causing warnings during HA startup:

2020-12-11 11:58:43 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 sonnenbatterie doing I/O at custom_components/sonnenbatterie/sensor.py, line 134: self.latestData["battery"]=self.sbInst.getbattery() 2020-12-11 11:58:43 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 sonnenbatterie doing I/O at custom_components/sonnenbatterie/sensor.py, line 133: self.latestData["status"]=self.sbInst.getstatus() 2020-12-11 11:58:43 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 sonnenbatterie doing I/O at custom_components/sonnenbatterie/sensor.py, line 132: self.latestData["systemdata"]=self.sbInst.getsystemdata() 2020-12-11 11:58:43 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 sonnenbatterie doing I/O at custom_components/sonnenbatterie/sensor.py, line 131: self.latestData["inverter"]=self.sbInst.getinverter() 2020-12-11 11:58:43 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 sonnenbatterie doing I/O at custom_components/sonnenbatterie/sensor.py, line 130: self.latestData["battery_system"]=self.sbInst.getbatterysystem() 2020-12-11 11:58:43 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 sonnenbatterie doing I/O at custom_components/sonnenbatterie/sensor.py, line 129: self.latestData["powermeter"]=self.sbInst.getpowermeter() 2020-12-11 11:58:43 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 sonnenbatterie doing I/O at custom_components/sonnenbatterie/sensor.py, line 33: systemdata=sonnenInst.getsystemdata() 2020-12-11 11:58:42 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 sonnenbatterie doing I/O at customcomponents/sonnenbatterie/sensor.py, line 32: sonnenInst=sonnenbatterie(username,password,ipaddress) 2020-12-11 11:58:42 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 sonnenbatterie doing I/O at custom_components/sonnenbatterie/sensor.py, line 32: sonnenInst=sonnenbatterie(username,password,ipaddress)

weltmeyer commented 3 years ago

Yepp. this should be fixed in #4b000f7