jascdk / Nilan_Homeassistant

Use your Home Assistant to control and read values from your Nilan air vent system
54 stars 25 forks source link

Blocking calls at custom_components/nilan/config_flow.py #35

Open whoami-pi opened 1 year ago

whoami-pi commented 1 year ago

Hi,

Nilan integration was working fine. After a system restart the integration was not able to deliver any data. So, I've deleted the device and afterwards the integration in HACS.

After another system restart, I've installed the integration in HACS and integration in Devices and Settings. During that the system integration was not able to connect.

I'm getting the following error. Invalid Response from Device

As I said, the connection with my Nilan was working. Here is another Log entry in System - Logs:

Logger: homeassistant.util.async_
Source: util/async_.py:159
First occurred: 08:56:44 (397 occurrences)
Last logged: 19:13:05

Detected blocking call to sleep inside the event loop. This is causing stability issues. Please report issue to the custom integration author for nilan doing blocking calls at custom_components/nilan/config_flow.py, line 59: result = client.read_holding_registers(