Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Impossible to configure my sound bar #55

Open
guigeek34 opened this issue Feb 2, 2025 · 0 comments
Open

Impossible to configure my sound bar #55

guigeek34 opened this issue Feb 2, 2025 · 0 comments

Comments

@guigeek34
Copy link

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'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant