You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using your solution or trying it out, it throws the following error:
Logger: homeassistant.core
Source: custom_components/samsungtv_custom/media_player.py:14
First occurred: 15:52:16 (1 occurrences)
Last logged: 15:52:16
Error executing service: <ServiceCall homeassistant.restart (c:6eef5718ccf37a926aaa64f9d6679f14)>
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/core.py", line 1504, in catch_exceptions
await coro_or_task
File "/usr/src/homeassistant/homeassistant/core.py", line 1523, in _execute_service
await handler.job.target(service_call)
File "/usr/src/homeassistant/homeassistant/components/hassio/__init__.py", line 449, in async_handle_core_service
errors = await conf_util.async_check_ha_config_file(hass)
File "/usr/src/homeassistant/homeassistant/config.py", line 885, in async_check_ha_config_file
res = await check_config.async_check_ha_config_file(hass)
File "/usr/src/homeassistant/homeassistant/helpers/check_config.py", line 204, in async_check_ha_config_file
platform = p_integration.get_platform(domain)
File "/usr/src/homeassistant/homeassistant/loader.py", line 499, in get_platform
cache[full_name] = self._import_platform(platform_name)
File "/usr/src/homeassistant/homeassistant/loader.py", line 504, in _import_platform
return importlib.import_module(f"{self.pkg_path}.{platform_name}")
File "/usr/local/lib/python3.8/importlib/__init__.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "<frozen importlib._bootstrap>", line 1014, in _gcd_import
File "<frozen importlib._bootstrap>", line 991, in _find_and_load
File "<frozen importlib._bootstrap>", line 975, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 671, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 783, in exec_module
File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
File "/config/custom_components/samsungtv_custom/media_player.py", line 14, in <module>
from samsungtvws import SamsungTVWS
File "/usr/local/lib/python3.8/site-packages/samsungtvws/__init__.py", line 22, in <module>
from .remote import SamsungTVWS
File "/usr/local/lib/python3.8/site-packages/samsungtvws/remote.py", line 147
header={"connection": "Upgrade"}
^
SyntaxError: invalid syntax
The text was updated successfully, but these errors were encountered:
Hi,
When using your solution or trying it out, it throws the following error:
The text was updated successfully, but these errors were encountered: