-
-
Notifications
You must be signed in to change notification settings - Fork 35.4k
Description
The problem
Hello everyone, Alexa may have changed some of her own data again... now I'm getting a flood of warning messages about.
What version of Home Assistant Core has the issue?
core-2025.8.0
What was the last working version of Home Assistant Core?
No response
What type of installation are you running?
Home Assistant OS
Integration causing the issue
alexa_devices
Link to integration documentation on our website
https://www.home-assistant.io/integrations/alexa_devices
Diagnostics information
Logger: homeassistant
Quelle: components/alexa_devices/binary_sensor.py:52
Erstmals aufgetreten: 11:00:23 (190 Vorkommnisse)
Zuletzt protokolliert: 12:38:08
Error doing job: Task exception was never retrieved (None)
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 280, in _handle_refresh_interval
await self._async_refresh(log_failures=True, scheduled=True)
File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 491, in _async_refresh
self.async_update_listeners()
~~~~~~~~~~~~~~~~~~~~~~~~~~~^^
File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 190, in async_update_listeners
update_callback()
~~~~~~~~~~~~~~~^^
File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 571, in _handle_coordinator_update
self.async_write_ha_state()
~~~~~~~~~~~~~~~~~~~~~~~~~^^
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 1026, in async_write_ha_state
self._async_write_ha_state()
~~~~~~~~~~~~~~~~~~~~~~~~~~^^
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 1151, in _async_write_ha_state
self.__async_calculate_state()
~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 1088, in __async_calculate_state
state = self._stringify_state(available)
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 1032, in _stringify_state
if (state := self.state) is None:
^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/components/binary_sensor/init.py", line 200, in state
if (is_on := self.is_on) is None:
^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/components/alexa_devices/binary_sensor.py", line 113, in is_on
return self.entity_description.is_on_fn(
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
self.device, self.entity_description.key
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/usr/src/homeassistant/homeassistant/components/alexa_devices/binary_sensor.py", line 52, in
is_on_fn=lambda device, key: (device.sensors[key].value != SENSOR_STATE_OFF),
~~~~~~~~~~~~~~^^^^^
KeyError: 'babyCryDetectionState'
Example YAML snippet
Anything in the logs that might be useful for us?
Additional information
No response