sockless-coding / panasonic_cc

Panasonic Comfort Cloud - Home Assistant Component
MIT License
137 stars 35 forks source link

Panasonic Comfort Cloud stopped showing state, sensors and other details within HA. #139

Closed djmaxim1981 closed 4 months ago

djmaxim1981 commented 10 months ago

Hi Team HA, Can you please help look into this integration? It has stopped working for the past 1 week, noticeably after the recent HA upgrade. I am still able to turn on/off the aircond via HA but the state doesn't change, nor do the temp sensors work. I've attempted to remove and re-integrate Comfort Cloud to HA, but same issue appears again. FYI - I am on v1.0.37 image

Logger: homeassistant.config_entries Source: config_entries.py:557 First occurred: 2:00:22 PM (1 occurrences) Last logged: 2:00:22 PM

Error unloading entry for panasonic_cc Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/config_entries.py", line 557, in async_unload result = await component.async_unload_entry(hass, self) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/config/custom_components/panasonic_cc/init.py", line 102, in async_unload_entry await asyncio.wait( File "/usr/local/lib/python3.11/asyncio/tasks.py", line 425, in wait raise TypeError("Passing coroutines is forbidden, use tasks explicitly.") TypeError: Passing coroutines is forbidden, use tasks explicitly.

codyc1515 commented 8 months ago

I believe this should be working for you again now?

djmaxim1981 commented 8 months ago

@codyc1515

I believe this should be working for you again now?

Unfortunately, I'm still faced with the same problem. And I also updated to the 'latest' release v1.0.38 - but the same problem persists. Even tried to log out and log back in as well (tried many times)

Issues

Only function that works is the Power On & Off which also has no state.

FYi - ComfortCloud app on Android is working just fine.

2024-01-10 14:27:38.486 ERROR (MainThread) [homeassistant.config_entries] Error unloading entry for panasonic_cc Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/config_entries.py", line 557, in async_unload result = await component.async_unload_entry(hass, self) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/config/custom_components/panasonic_cc/init.py", line 102, in async_unload_entry await asyncio.wait( File "/usr/local/lib/python3.11/asyncio/tasks.py", line 425, in wait raise TypeError("Passing coroutines is forbidden, use tasks explicitly.") TypeError: Passing coroutines is forbidden, use tasks explicitly. 2024-01-10 14:27:38.507 WARNING (MainThread) [py.warnings] /usr/src/homeassistant/homeassistant/config_entries.py:576: RuntimeWarning: coroutine 'ConfigEntries.async_forward_entry_unload' was never awaited return False

2024-01-10 14:28:16.023 DEBUG (MainThread) [custom_components.panasonic_cc.panasonic] Set PC Room AC mode cool 2024-01-10 14:28:18.289 DEBUG (MainThread) [custom_components.panasonic_cc.panasonic] Error trying to get device cbe54a820054db040668d0ca46f8f9e74d2732574f10eb19c7087e3a6537bf2d state, probably expired token, trying to update it... 2024-01-10 14:28:20.003 DEBUG (MainThread) [custom_components.panasonic_cc.panasonic] Failed to renew token for device cbe54a820054db040668d0ca46f8f9e74d2732574f10eb19c7087e3a6537bf2d, giving up for now

djmaxim1981 commented 8 months ago

Logger: homeassistant.config_entries Source: config_entries.py:557 First occurred: 2:27:38 PM (1 occurrences) Last logged: 2:27:38 PM

Error unloading entry for panasonic_cc Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/config_entries.py", line 557, in async_unload result = await component.async_unload_entry(hass, self) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/config/custom_components/panasonic_cc/init.py", line 102, in async_unload_entry await asyncio.wait( File "/usr/local/lib/python3.11/asyncio/tasks.py", line 425, in wait raise TypeError("Passing coroutines is forbidden, use tasks explicitly.") TypeError: Passing coroutines is forbidden, use tasks explicitly.

APPRECIATE ANY HELP TO RESOLVE THIS PLEASE.

codyc1515 commented 8 months ago

What AC is this? Aquarea?

Please try remove the config entry and try set it up again - looks like there is an issue with the token also.

djmaxim1981 commented 8 months ago

@codyc1515

What AC is this? Aquarea?

Please try remove the config entry and try set it up again - looks like there is an issue with the token also.

djmaxim1981 commented 8 months ago

Hi @codyc1515 Can you advise how I can remove the "config entry"? I've already removed the integration and re-added it back into HA, but no joy. Same error faced.

codyc1515 commented 8 months ago

That’s what I meant. If it didn’t work, that’s disappointing.

djmaxim1981 commented 4 months ago

Issue is now resolved for me. Comfort Cloud is working as it should be. Thank you !