Skip to content

Samsung q800b integration issues #59

@interkelstar

Description

@interkelstar

I am not sure whether this is WIP or not, but yesterday I tried setting up my samsung q800b soundbar and here is what I noticed.
If any of the top 3 checkboxes are cheched - the integrtion fails to load and tells me to check the logs. I will add them for each option in the bottom.

Image

Even when integration is properly set up the mute\unmute functionality is not working. Soundbar correctly shows the status of being muted or not though. But nothing happens if i click it. The mute\unmute is working correctly via Piotr integration.

Actually I was very eager to see the sound mode and advanced swithces, I could imagine it's working in my scripts, but unfortunatelly right now it's not working =(

Log if I turn on 1, 2 or 3 checkbox

Logger: homeassistant.config_entries
Source: config_entries.py:640
First occurred: 23:07:24 (1 occurrences)
Last logged: 23:07:24

Error setting up entry samsung_soundbar for samsung_soundbar
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/config_entries.py", line 640, in __async_setup_with_context
    result = await component.async_setup_entry(hass, self)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/config/custom_components/samsung_soundbar/__init__.py", line 69, in async_setup_entry
    await soundbar_device.update()
  File "/config/custom_components/samsung_soundbar/api_extension/SoundbarDevice.py", line 68, in update
    await self._update_advanced_audio()
  File "/config/custom_components/samsung_soundbar/api_extension/SoundbarDevice.py", line 154, in _update_advanced_audio
    payload = await self.get_execute_status()
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/config/custom_components/samsung_soundbar/api_extension/SoundbarDevice.py", line 459, in get_execute_status
    return dict_stuff["data"]["value"]["payload"]
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^
TypeError: 'NoneType' object is not subscriptable

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