ha-emporia-vue icon indicating copy to clipboard operation
ha-emporia-vue copied to clipboard

Error communicating with Emporia API: 'VueDeviceChannel' object has no attribute 'type'

Open geoffmyers opened this issue 1 year ago • 3 comments

I keep receiving the following error message when loading this integration:

Failed setup, will retry: Exception while setting up Emporia Vue. Will retry. Error communicating with Emporia API: 'VueDeviceChannel' object has no attribute 'type'

Integration Version 0.10.0 Core Version 2024.10.1 Supervisor Version 2024.10.1 Operating System Version 13.2.rc1 Frontend Version 20241002.2

I have tried removing and redownloading the integration, removing and readding the config entry, and restarting the OS. Unfortunately, I still receive the same error message.

The Emporia Vue credentials are correct and the Emporia Vue device is online and reporting data in the app.

I believe this error began appearing around the release of Home Assistant Core 2024.09 or 2024.10.

Here are relevant log entries:

2024-10-10 17:24:24.406 ERROR (MainThread) [custom_components.emporia_vue] Error communicating with Emporia API: 'VueDeviceChannel' object has no attribute 'type'
2024-10-10 17:24:24.406 WARNING (MainThread) [custom_components.emporia_vue] Exception while setting up Emporia Vue. Will retry. Error communicating with Emporia API: 'VueDeviceChannel' object has no attribute 'type'

geoffmyers avatar Oct 10 '24 22:10 geoffmyers

Well that's definitely odd, it's not a particularly complicated object. I'm wondering if it's just running an old version of PyEmVue somehow? Version 0.18.6 is the one that should be in use and earlier versions will not have type on that object.

magico13 avatar Oct 11 '24 00:10 magico13

Same since 0.10 version This error originated from a custom integration.

Logger: custom_components.emporia_vue Source: custom_components/emporia_vue/init.py:323 integration: Emporia Vue (documentation, issues) First occurred: 20:39:21 (2 occurrences) Last logged: 20:39:26

Exception while setting up Emporia Vue. Will retry. Error communicating with Emporia API: 'VueDeviceChannel' object has no attribute 'type'

0.9.3 version working with no issues

myevit avatar Oct 19 '24 02:10 myevit

Had the same issue, HA had the old pyemvue library in my /config/deps/lib/python3.13 folder. I renamed the pyemvue folders and redownloaded the hacs addon. Restarted and it seems to be working fine

r-rainey avatar Jun 07 '25 08:06 r-rainey