apetrycki / daikinskyport

API for accessing a DaikinOne+ Thermostat
59 stars 26 forks source link

WARNING Detected blocking call to sleep inside the event loop. This is causing stability issues. Please report issue to the custom integration author for daikinskyport doing blocking calls at custom_components/daikinskyport/climate.py, line 414: sleep(3) #72

Closed enkrypt3d closed 9 months ago

enkrypt3d commented 9 months ago

WARNING (MainThread) [daikinskyport] Could not refresh tokens: 400 Trying to re-request

Just updated thru HACS notification and now it's not working again.

image

When I try to change the temp it just goes back to what it was....

enkrypt3d commented 9 months ago

It appears that it can read the values, it just can't make any changes. really odd.

enkrypt3d commented 9 months ago

WARNING (SyncWorker_4) [py.warnings] /config/custom_components/daikinskyport/climate.py:615: RuntimeWarning: coroutine 'DaikinSkyport.make_request' was never awaited self.data.daikinskyport.set_permanent_hold(

adding more detail

git2021-ll commented 9 months ago

Seeing the same. Saw there was an update in HACS to migrate to Integration from config.yaml. After running through steps appears to read but can't change modes (get blocking call to sleep and request never awaited)

ogger: daikinskyport Source: custom_components/daikinskyport/daikinskyport.py:246 Integration: Daikin Skyport (documentation, issues) First occurred: 9:12:19 PM (1 occurrences) Last logged: 9:12:19 PM Could not refresh tokens: 400 Trying to re-request

Logger: py.warnings Source: custom_components/daikinskyport/climate.py:580 Integration: Daikin Skyport (documentation, issues) First occurred: 9:13:57 PM (1 occurrences) Last logged: 9:13:57 PM /config/custom_components/daikinskyport/climate.py:580: RuntimeWarning: coroutine 'DaikinSkyport.make_request' was never awaited self.data.daikinskyport.set_away(self.thermostat_index, False)

Logger: py.warnings Source: custom_components/daikinskyport/climate.py:730 Integration: Daikin Skyport (documentation, issues) First occurred: 9:13:57 PM (1 occurrences) Last logged: 9:13:57 PM /config/custom_components/daikinskyport/climate.py:730: RuntimeWarning: coroutine 'DaikinSkyport.make_request' was never awaited self.data.daikinskyport.resume_program(

Logger: homeassistant.util.async Source: util/async.py:164 First occurred: 9:13:57 PM (1 occurrences) Last logged: 9:13:57 PM Detected blocking call to sleep inside the event loop. This is causing stability issues. Please report issue to the custom integration author for daikinskyport doing blocking calls at custom_components/daikinskyport/climate.py, line 414: sleep(3)

ogger: daikinskyport Source: custom_components/daikinskyport/daikinskyport.py:246 Integration: Daikin Skyport (documentation, issues) First occurred: 9:12:19 PM (1 occurrences) Last logged: 9:12:19 PM Could not refresh tokens: 400 Trying to re-request

Logger: py.warnings Source: custom_components/daikinskyport/climate.py:580 Integration: Daikin Skyport (documentation, issues) First occurred: 9:13:57 PM (1 occurrences) Last logged: 9:13:57 PM /config/custom_components/daikinskyport/climate.py:580: RuntimeWarning: coroutine 'DaikinSkyport.make_request' was never awaited self.data.daikinskyport.set_away(self.thermostat_index, False)

Logger: py.warnings Source: custom_components/daikinskyport/climate.py:730 Integration: Daikin Skyport (documentation, issues) First occurred: 9:13:57 PM (1 occurrences) Last logged: 9:13:57 PM /config/custom_components/daikinskyport/climate.py:730: RuntimeWarning: coroutine 'DaikinSkyport.make_request' was never awaited self.data.daikinskyport.resume_program(

Logger: homeassistant.util.async Source: util/async.py:164 First occurred: 9:13:57 PM (1 occurrences) Last logged: 9:13:57 PM Detected blocking call to sleep inside the event loop. This is causing stability issues. Please report issue to the custom integration author for daikinskyport doing blocking calls at custom_components/daikinskyport/climate.py, line 414: sleep(3)

apetrycki commented 9 months ago

should be fixed now. I made a major oops

enkrypt3d commented 9 months ago

Much better thank you!

On Fri, Sep 22, 2023, 1:17 AM apetrycki @.***> wrote:

should be fixed now. I made a major oops

— Reply to this email directly, view it on GitHub https://github.com/apetrycki/daikinskyport/issues/72#issuecomment-1730813885, or unsubscribe https://github.com/notifications/unsubscribe-auth/AWHLHRVSYNW5AFLVQJXMGDTX3UNMZANCNFSM6AAAAAA5B35Z6U . You are receiving this because you authored the thread.Message ID: @.***>