I have switched my MQTT fans to use the new fan control schema (removed the speed list) by converting them to using preset modes.
I use the modes as “low”, “medium” and “high”.
Everything in HA itself works fine.
but when I use the Echo to try to set the speed to some mode I get a response of “the xxx fan isn’t responding”.
And I get the following in the logs:
2021-05-06 14:40:35 ERROR (MainThread) [hass_nabucasa.iot] Error handling message
Traceback (most recent call last):
File "/usr/local/lib/python3.8/site-packages/hass_nabucasa/iot.py", line 95, in _async_handle_handler_message
result = await handler(self.cloud, message["payload"])
File "/usr/local/lib/python3.8/site-packages/hass_nabucasa/iot.py", line 119, in async_handle_alexa
return await cloud.client.async_alexa_message(payload)
File "/usr/src/homeassistant/homeassistant/components/cloud/client.py", line 175, in async_alexa_message
return await alexa_sh.async_handle_message(
File "/usr/src/homeassistant/homeassistant/components/alexa/smart_home.py", line 39, in async_handle_message
response = await funct_ref(hass, config, directive, context)
File "/usr/src/homeassistant/homeassistant/components/alexa/handlers.py", line 1091, in async_api_set_range
speed_list = entity.attributes[fan.ATTR_SPEED_LIST]
KeyError: 'speed_list'
Does anyone know what the reason for this error is and how to resolve it?
Do I still need to include a speed list in the config for Alexa to use it even tho it is being deprecated?
1 post - 1 participant