Skip to content

Validation missing for maximum event name #108

@mathieucarbou

Description

@mathieucarbou
This error originated from a custom integration.

Logger: custom_components.daily
Source: helpers/update_coordinator.py:416
integration: Daily Sensor (documentation, issues)
First occurred: 1:21:24 PM (1 occurrence)
Last logged: 1:21:24 PM

Unexpected error fetching Électricité: Prix de règlement des écarts positifs - Moyenne du jour data
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 416, in _async_refresh
    self.data = await self._async_update_data()
                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/config/custom_components/daily/__init__.py", line 334, in _async_update_data
    self.fire_event(EVENT_UPDATE)
    ~~~~~~~~~~~~~~~^^^^^^^^^^^^^^
  File "/config/custom_components/daily/__init__.py", line 316, in fire_event
    self.hass.bus.fire(event_to_fire)
    ~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/core.py", line 1464, in fire
    _verify_event_type_length_or_raise(event_type)
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/core.py", line 1419, in _verify_event_type_length_or_raise
    raise MaxLengthExceeded(event_type, "event_type", MAX_LENGTH_EVENT_EVENT_TYPE)
homeassistant.exceptions.MaxLengthExceeded: Value Électricité: Prix de règlement des écarts positifs - Moyenne du jour_update for property event_type has a maximum length of 64 characters

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