joggs / home_assistant_ebeco

Integration for Ebeco thermostats
28 stars 14 forks source link

Component fails to load? #5

Closed prebbz closed 3 years ago

prebbz commented 3 years ago

Hi, This component has suddenly stopped working after a recent home assistant update (v3.2.9)

home-assistant | 2021-04-06 11:58:56 ERROR (MainThread) [homeassistant.components.homekit] Failed to create a HomeKit accessory for climate.ovre_badrummet home-assistant | Traceback (most recent call last): home-assistant | File "/usr/src/homeassistant/homeassistant/components/homekit/__init__.py", line 566, in add_bridge_accessory home-assistant | acc = get_accessory(self.hass, self.driver, state, aid, conf) home-assistant | File "/usr/src/homeassistant/homeassistant/components/homekit/accessories.py", line 195, in get_accessory home-assistant | return TYPES[a_type](hass, driver, name, state.entity_id, aid, config) home-assistant | File "/usr/src/homeassistant/homeassistant/components/homekit/type_thermostats.py", line 235, in __init__ home-assistant | self._async_update_state(state) home-assistant | File "/usr/src/homeassistant/homeassistant/components/homekit/type_thermostats.py", line 459, in _async_update_state home-assistant | homekit_hvac_action = HC_HASS_TO_HOMEKIT_ACTION[hvac_action] home-assistant | KeyError: 'heat'

I have the latest version of the add-on. Any suggestions?

joggs commented 3 years ago

Hi Prebbz! By looking at the error, the problem seems to be inside the homekit integration as it fails to create an accessory based on the ebeco thermostat type. I am importing valid thermostat types directly from Home assistant core, which means they are valid and correct types that I am using in my code, so I would suggest that you submit this problem on the github page for homekit and see if they can find anything.

prebbz commented 3 years ago

Hi Joggs,

Thanks for the prompt reply. I checked now and it seems it was a non-fatal error as the integration appears again. It had stopped working, but I guess it was the version info that was missing. You can close the issue. Thanks again

Skickat från min iPhone

6 apr. 2021 kl. 18:59 skrev joggs @.***>:

 Hi Prebbz! By looking at the error, the problem seems to be inside the homekit integration as it fails to create an accessory based on the ebeco thermostat type. I am importing valid thermostat types directly from Home assistant core, which means they are valid and correct types that I am using in my code, so I would suggest that you submit this problem on the github page for homekit and see if they can find anything.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe.

joggs commented 3 years ago

Great!