Skip to content

"Error adding entity text.<ZONE>_window_rest_timeout" on HA startup #10

@AlexHunterCodes

Description

@AlexHunterCodes

The integration generates the below errors during Home Assistant's startup. I only started using Tado Local yesterday, so I don't know if this is new behaviour or not.

Component Version
Home Assistant Core 2026.4.4
Tado Local integration 1.0.3 (latest)
TadoLocal server 1.1.2 (latest)

The window timeout entities on each Zone device appear as unavailable.

Image

The More Info panel says they are "no longer being provided by the tado_local integration", but this is because they failed to initialise, not because they are actually deprecated. Right?

Image

Error log

Logger: homeassistant.components.text
Source: helpers/entity_platform.py:680
integration: Text (documentation, issues)
First occurred: 18:40:17 (10 occurrences)
Last logged: 18:40:18

  • Error adding entity text.kitchen_window_rest_timeout for domain text with platform tado_local
  • Error adding entity text.bathroom_window_open_timeout for domain text with platform tado_local
  • Error adding entity text.bathroom_window_rest_timeout for domain text with platform tado_local
  • Error adding entity text.hallway_window_open_timeout for domain text with platform tado_local
  • Error adding entity text.hallway_window_rest_timeout for domain text with platform tado_local
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 680, in _async_add_entities
    await self._async_add_entity(
        entity, False, entity_registry, config_subentry_id
    )
  File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 998, in _async_add_entity
    await entity.add_to_platform_finish()
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 1431, in add_to_platform_finish
    self.async_write_ha_state()
    ~~~~~~~~~~~~~~~~~~~~~~~~~^^
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 1050, in async_write_ha_state
    self._async_write_ha_state()
    ~~~~~~~~~~~~~~~~~~~~~~~~~~^^
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 1199, in _async_write_ha_state
    ) = self.__async_calculate_state()
        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 1106, in __async_calculate_state
    state = self._stringify_state(available)
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 1056, in _stringify_state
    if (state := self.state) is None:
                 ^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/components/text/__init__.py", line 157, in state
    raise ValueError(
    ...<2 lines>...
    )
ValueError: Entity text.living_room_window_open_timeout provides state None which is too long (maximum length 3)

Logger: homeassistant
Source: components/text/init.py:157
First occurred: 18:40:48 (145 occurrences)
Last logged: 19:54:45

Error doing job: Task exception was never retrieved (task: None)
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 296, in _handle_refresh_interval
    await self._async_refresh(log_failures=True, scheduled=True)
  File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 575, in _async_refresh
    self.async_update_listeners()
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~^^
  File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 202, in async_update_listeners
    update_callback()
    ~~~~~~~~~~~~~~~^^
  File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 655, in _handle_coordinator_update
    self.async_write_ha_state()
    ~~~~~~~~~~~~~~~~~~~~~~~~~^^
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 1050, in async_write_ha_state
    self._async_write_ha_state()
    ~~~~~~~~~~~~~~~~~~~~~~~~~~^^
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 1199, in _async_write_ha_state
    ) = self.__async_calculate_state()
        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 1106, in __async_calculate_state
    state = self._stringify_state(available)
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 1056, in _stringify_state
    if (state := self.state) is None:
                 ^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/components/text/__init__.py", line 157, in state
    raise ValueError(
    ...<2 lines>...
    )
ValueError: Entity text.living_room_window_open_timeout provides state None which is too long (maximum length 3)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions