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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix samsungtv to abort when ATTR_UPNP_MANUFACTURER is missing #78895

Merged
merged 1 commit into from Sep 21, 2022

Commits on Sep 21, 2022

  1. Fix samsungtv to abort when ATTR_UPNP_MANUFACTURER is missing

    Fixes
    ```
    2022-09-20 08:47:23.807 ERROR (MainThread) [homeassistant] Error doing job: Task exception was never retrieved
    Traceback (most recent call last):
      File "/Users/bdraco/home-assistant/homeassistant/data_entry_flow.py", line 225, in async_init
        flow, result = await task
      File "/Users/bdraco/home-assistant/homeassistant/data_entry_flow.py", line 252, in _async_init
        result = await self._async_handle_step(flow, flow.init_step, data, init_done)
      File "/Users/bdraco/home-assistant/homeassistant/data_entry_flow.py", line 367, in _async_handle_step
        result: FlowResult = await getattr(flow, method)(user_input)
      File "/Users/bdraco/home-assistant/homeassistant/components/samsungtv/config_flow.py", line 461, in async_step_ssdp
        self._manufacturer = discovery_info.upnp[ssdp.ATTR_UPNP_MANUFACTURER]
    KeyError: manufacturer
    
    ```
    bdraco committed Sep 21, 2022
    Configuration menu
    Copy the full SHA
    6a2544f View commit details
    Browse the repository at this point in the history