-
-
Notifications
You must be signed in to change notification settings - Fork 8
Open
Description
I get an error when trying to add my SoundBar.
I read in this repo that Samsung change auth policy. Is there a link?
Sound Bar = HW-Q995-D
HA = 2025.1.4
YASSI = 0.4.1
Enregistreur: homeassistant.components.recorder.core
Source: components/recorder/core.py:874
intégration: Recorder (documentation, problèmes)
S'est produit pour la première fois: 20:40:01 (3 occurrences)
Dernier enregistrement: 20:45:10
Error while processing event CompileMissingStatisticsTask()
Error while processing event StatisticsTask(start=datetime.datetime(2025, 2, 2, 19, 35, tzinfo=datetime.timezone.utc), fire_events=True)
Error while processing event StatisticsTask(start=datetime.datetime(2025, 2, 2, 19, 40, tzinfo=datetime.timezone.utc), fire_events=True)
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/components/recorder/core.py", line 874, in _guarded_process_one_task_or_event_or_recover
self._process_one_task_or_event_or_recover(task)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^
File "/usr/src/homeassistant/homeassistant/components/recorder/core.py", line 894, in _process_one_task_or_event_or_recover
task.run(self)
~~~~~~~~^^^^^^
File "/usr/src/homeassistant/homeassistant/components/recorder/tasks.py", line 182, in run
if statistics.compile_missing_statistics(instance):
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/components/recorder/util.py", line 697, in wrapper
return job(*args, **kwargs)
File "/usr/src/homeassistant/homeassistant/components/recorder/statistics.py", line 487, in compile_missing_statistics
modified_statistic_ids = _compile_statistics(
instance, session, start, end >= last_period
)
File "/usr/src/homeassistant/homeassistant/components/recorder/statistics.py", line 569, in _compile_statistics
compiled: PlatformCompiledStatistics = platform_compile_statistics(
~~~~~~~~~~~~~~~~~~~~~~~~~~~^
instance.hass, session, start, end
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/usr/src/homeassistant/homeassistant/components/sensor/recorder.py", line 482, in compile_statistics
last_stats = statistics.get_latest_short_term_statistics_with_session(
hass, session, to_query, {"last_reset", "state", "sum"}, metadata=old_metadatas
)
File "/usr/src/homeassistant/homeassistant/components/recorder/statistics.py", line 2019, in get_latest_short_term_statistics_with_session
return _sorted_statistics_to_dict(
hass,
...<6 lines>...
types,
)
File "/usr/src/homeassistant/homeassistant/components/recorder/statistics.py", line 2229, in _sorted_statistics_to_dict
_stats = _build_stats(*build_args, row_mapping)
File "/usr/src/homeassistant/homeassistant/components/recorder/statistics.py", line 2129, in _build_stats
"end": start_ts + table_duration_seconds,
~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
TypeError: unsupported operand type(s) for +: 'NoneType' and 'float'
Metadata
Metadata
Assignees
Labels
No labels