Giter Site home page Giter Site logo

xyaren / homeassistant-magentatv Goto Github PK

View Code? Open in Web Editor NEW
4.0 2.0 0.0 430 KB

Homeassistant Integration for controlling Telekom MagnetaTV Media Receivers

License: MIT License

Python 98.06% Shell 0.93% JavaScript 1.01%
entertain hassio hassio-integration homeassistant homeassistant-integration telekom mediareceiver magentatv

homeassistant-magentatv's People

Contributors

dependabot[bot] avatar github-actions[bot] avatar pre-commit-ci[bot] avatar xyaren avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

homeassistant-magentatv's Issues

Error adding entity media_player.magentatvlivingroom for domain media_player with platform magentatv

System Health details

System Information

version core-2024.7.4
installation_type Home Assistant OS
dev false
hassio true
docker true
user root
virtualenv false
python_version 3.12.4
os_name Linux
os_version 6.6.31-haos-raspi
arch aarch64
timezone Europe/Berlin
config_dir /config
Home Assistant Community Store
GitHub API ok
GitHub Content ok
GitHub Web ok
GitHub API Calls Remaining 4994
Installed Version 1.34.0
Stage running
Available Repositories 1391
Downloaded Repositories 15
HACS Data ok
Home Assistant Cloud
logged_in false
can_reach_cert_server ok
can_reach_cloud_auth ok
can_reach_cloud ok
Home Assistant Supervisor
host_os Home Assistant OS 12.4
update_channel stable
supervisor_version supervisor-2024.06.2
agent_version 1.6.0
docker_version 26.1.4
disk_total 28.5 GB
disk_used 7.1 GB
healthy true
supported true
host_connectivity true
supervisor_connectivity true
ntp_synchronized true
virtualization
board rpi5-64
supervisor_api ok
version_api ok
installed_addons Terminal & SSH (9.14.0), Samba share (12.3.2), Studio Code Server (5.15.0)
Dashboards
dashboards 11
resources 11
views 20
mode storage
Recorder
oldest_recorder_run June 26, 2024 at 9:01 PM
current_recorder_run July 30, 2024 at 3:58 PM
estimated_db_size 496.98 MiB
database_engine mysql
database_version 11.4.2
Xiaomi Miot Auto
component_version 0.7.19
can_reach_server ok
can_reach_spec ok
logged_accounts 1
total_devices 1

Checklist

  • I have enabled debug logging for my installation.
  • I have filled out the issue template to the best of my ability.
  • This issue only contains 1 issue (if you have multiple issues, open one issue for each issue).
  • This issue is not a duplicate issue of currently previous issues..

Describe the issue

I am currently having trouble with this extension in my HA 2024.7.4 install. The MagentaTV media player cannot be added. Please see the debug logs for more details about the errors. Hope this helps and thanks for this really required and helpful extension!

Reproduction steps

Not really sure, if there is a possibility to reproduce this issue from scratch, but I guess it will happen, when you try to add a new MagentaTV media receiver device/entity.

In my case it happens after HA update to 2024.7.x

Debug logs

2024-08-02 13:31:25.934 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration hacs which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2024-08-02 13:31:25.934 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration xiaomi_miot which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2024-08-02 13:31:25.935 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration magentatv which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2024-08-02 13:31:25.935 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration waste_collection_schedule which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2024-08-02 13:31:27.498 INFO (MainThread) [custom_components.magentatv] MagentaTV setup
2024-08-02 13:31:27.498 INFO (MainThread) [custom_components.magentatv] MagentaTV setup entry
2024-08-02 13:31:28.861 INFO (SyncWorker_7) [fritzconnection] Unable to retrieve resource 'http://192.168.1.3:49000/igddesc.xml' from the device.
2024-08-02 13:31:28.932 INFO (MainThread) [custom_components.magentatv] Setup Notify Server for MagentaTV
2024-08-02 13:31:28.935 DEBUG (MainThread) [custom_components.magentatv.api] Starting Notify Server on 0.0.0.0:11223 ...
2024-08-02 13:31:28.938 ERROR (MainThread) [homeassistant.components.media_player] Error adding entity media_player.magentatvlivingroom for domain media_player with platform magentatv
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 598, in _async_add_entities
    await coro
  File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 912, in _async_add_entity
    await entity.add_to_platform_finish()
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 1361, in add_to_platform_finish
    await self.async_added_to_hass()
  File "/config/custom_components/magentatv/media_player.py", line 172, in async_added_to_hass
    await self.async_update()
  File "/config/custom_components/magentatv/media_player.py", line 182, in async_update
    await self._client.async_pair()
  File "/config/custom_components/magentatv/api/client.py", line 97, in async_pair
    await self._register_for_events()
  File "/config/custom_components/magentatv/api/client.py", line 81, in _register_for_events
    self._event_registration_id = await self._notify_server._async_subscribe_to_service(
                                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/config/custom_components/magentatv/api/notify_server.py", line 102, in _async_subscribe_to_service
    sid = await self._async_subscribe(target, service)
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/config/custom_components/magentatv/api/notify_server.py", line 134, in _async_subscribe
    response = await self._requester.async_http_request(
                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: AiohttpRequester.async_http_request() got an unexpected keyword argument 'method'
2024-08-02 13:31:29.981 WARNING (MainThread) [homeassistant.helpers.frame] Detected that custom integration 'hacs' calls hass.http.register_static_path which is deprecated because it does blocking I/O in the event loop, instead call `await hass.http.async_register_static_paths([StaticPathConfig("/hacsfiles/frontend", "/config/custom_components/hacs/hacs_frontend_experimental", False)])`; This function will be removed in 2025.7 at custom_components/hacs/frontend.py, line 49: hass.http.register_static_path(, please create a bug report at https://github.com/hacs/integration/issues
2024-08-02 13:31:29.988 WARNING (MainThread) [homeassistant.helpers.frame] Detected that custom integration 'hacs' calls hass.http.register_static_path which is deprecated because it does blocking I/O in the event loop, instead call `await hass.http.async_register_static_paths([StaticPathConfig("/hacsfiles/iconset.js", "/config/custom_components/hacs/iconset.js", True)])`; This function will be removed in 2025.7 at custom_components/hacs/frontend.py, line 57: hass.http.register_static_path(, please create a bug report at https://github.com/hacs/integration/issues
2024-08-02 13:31:29.993 WARNING (MainThread) [homeassistant.helpers.frame] Detected that custom integration 'hacs' accesses hass.components.frontend. This is deprecated and will stop working in Home Assistant 2024.9, it should be updated to import functions used from frontend directly at custom_components/hacs/frontend.py, line 68: hass.components.frontend.async_register_built_in_panel(, please create a bug report at https://github.com/hacs/integration/issues
2024-08-02 13:31:29.999 WARNING (MainThread) [homeassistant.helpers.frame] Detected that custom integration 'hacs' calls hass.http.register_static_path which is deprecated because it does blocking I/O in the event loop, instead call `await hass.http.async_register_static_paths([StaticPathConfig("/hacsfiles", "/config/www/community", True)])`; This function will be removed in 2025.7 at custom_components/hacs/base.py, line 1162: self.hass.http.register_static_path(, please create a bug report at https://github.com/hacs/integration/issues
2024-08-02 13:31:30.038 ERROR (MainThread) [homeassistant.components.sensor] Platform waste_collection_schedule does not generate unique IDs. ID Blaue Tonne: Nächste Leerung already exists - ignoring sensor.blaue_tonne_nachste_leerung
2024-08-02 13:31:38.983 ERROR (MainThread) [homeassistant.helpers.entity] Update for media_player.magentatvlivingroom fails
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 944, in async_update_ha_state
    await self.async_device_update()
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 1296, in async_device_update
    await self.async_update()
  File "/config/custom_components/magentatv/media_player.py", line 182, in async_update
    await self._client.async_pair()
  File "/config/custom_components/magentatv/api/client.py", line 97, in async_pair
    await self._register_for_events()
  File "/config/custom_components/magentatv/api/client.py", line 81, in _register_for_events
    self._event_registration_id = await self._notify_server._async_subscribe_to_service(
                                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/config/custom_components/magentatv/api/notify_server.py", line 102, in _async_subscribe_to_service
    sid = await self._async_subscribe(target, service)
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/config/custom_components/magentatv/api/notify_server.py", line 134, in _async_subscribe
    response = await self._requester.async_http_request(
                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: AiohttpRequester.async_http_request() got an unexpected keyword argument 'method'
2024-08-02 13:31:41.207 WARNING (MainThread) [homeassistant.helpers.frame] Detected that custom integration 'hacs' accesses hass.helpers.event. This is deprecated and will stop working in Home Assistant 2024.11, it should be updated to import functions used from event directly at custom_components/hacs/base.py, line 642: self.hass.helpers.event.async_track_time_interval(, please create a bug report at https://github.com/hacs/integration/issues
2024-08-02 13:31:41.591 DEBUG (MainThread) [custom_components.magentatv] async_step_ssdp SsdpServiceInfo(ssdp_usn='uuid:8ef14b6e-86b2-5397-8dda-AC6FBBB73EB5::upnp:rootdevice', ssdp_st='upnp:rootdevice', upnp={'UDN': 'uuid:8ef14b6e-86b2-5397-8dda-AC6FBBB73EB5', 'friendlyName': 'Hctmagentatv', 'deviceType': 'urn:schemas-upnp-org:device:MediaRenderer:1', 'manufacturer': 'Huawei Technologies Co.,Ltd', 'modelName': 'MR401B_ACN', 'modelNumber': 'R01A5', 'productVersionNumber': '" 1243 "', 'productType': 'stb', 'serialNumber': None, 'X_wakeOnLan': '0', 'X_DLNADOC': 'DMR-1.50', 'X_DLNACAP': None, 'serviceList': {'service': [{'serviceType': 'urn:schemas-upnp-org:service:ConnectionManager:1', 'serviceId': 'urn:upnp-org:serviceId:ConnectionManager', 'controlURL': '/upnp/service/ConnectionManager/Control', 'eventSubURL': '/upnp/service/ConnectionManager/Event', 'SCPDURL': '/upnp/service/des/cms.xml'}, {'serviceType': 'urn:schemas-upnp-org:service:AVTransport:1', 'serviceId': 'urn:upnp-org:serviceId:AVTransport', 'controlURL': '/upnp/service/AVTransport/Control', 'eventSubURL': '/upnp/service/AVTransport/Event', 'SCPDURL': '/upnp/service/des/avt.xml'}, {'serviceType': 'urn:schemas-upnp-org:service:RenderingControl:1', 'serviceId': 'urn:upnp-org:serviceId:RenderingControl', 'controlURL': '/upnp/service/RenderingControl/Control', 'eventSubURL': '/upnp/service/RenderingControl/Event', 'SCPDURL': '/upnp/service/des/rcs.xml'}, {'serviceType': 'urn:schemas-upnp-org:service:X-CTC_RemotePairing:1', 'serviceId': 'urn:upnp-org:serviceId:X-CTC_RemotePairing', 'controlURL': '/upnp/service/X-CTC_RemotePairing/Control', 'eventSubURL': '/upnp/service/X-CTC_RemotePairing/Event', 'SCPDURL': '/upnp/service/des/X-CTC_RemotePairing.xml'}, {'serviceType': 'urn:schemas-upnp-org:service:X-CTC_RemoteControl:1', 'serviceId': 'urn:upnp-org:serviceId:X-CTC_RemoteControl', 'controlURL': '/upnp/service/X-CTC_RemoteControl/Control', 'eventSubURL': '/upnp/service/X-CTC_RemoteControl/Event', 'SCPDURL': '/upnp/service/des/X-CTC_RemoteControl.xml'}, {'serviceType': 'urn:schemas-upnp-org:service:X-CTC_OpenApp:1', 'serviceId': 'urn:upnp-org:serviceId:X-CTC_OpenApp', 'controlURL': '/upnp/service/X-CTC_OpenApp/Control', 'eventSubURL': '/upnp/service/X-CTC_OpenApp/Event', 'SCPDURL': '/upnp/service/des/X-CTC_OpenApp.xml'}]}}, ssdp_location='http://192.168.1.159:8081/xml/xctc.xml', ssdp_nt='upnp:rootdevice', ssdp_udn='uuid:8ef14b6e-86b2-5397-8dda-AC6FBBB73EB5', ssdp_ext=None, ssdp_server='Linux/2.6 UPnP/1.1 zss/1.0', ssdp_headers={'HOST': '239.255.255.250:1900', 'CACHE-CONTROL': 'max-age=120', 'BOOTID.UPNP.ORG': '1', 'CONFIGID.UPNP.ORG': '1', 'LOCATION': 'http://192.168.1.159:8081/xml/xctc.xml', 'NT': 'upnp:rootdevice', 'NTS': 'ssdp:alive', 'SERVER': 'Linux/2.6 UPnP/1.1 zss/1.0', 'USN': 'uuid:8ef14b6e-86b2-5397-8dda-AC6FBBB73EB5::upnp:rootdevice', '_host': '192.168.1.159', '_udn': 'uuid:8ef14b6e-86b2-5397-8dda-AC6FBBB73EB5', '_location_original': 'http://192.168.1.159:8081/xml/xctc.xml', 'location': 'http://192.168.1.159:8081/xml/xctc.xml', '_timestamp': datetime.datetime(2024, 8, 2, 13, 31, 36, 143526), '_remote_addr': ('192.168.1.159', 1900), '_port': 1900, '_local_addr': ('0.0.0.0', 1900), '_source': <SsdpSource.ADVERTISEMENT: 'advertisement'>}, ssdp_all_locations={'http://192.168.1.159:8081/xml/xctc.xml'}, x_homeassistant_matching_domains={'magentatv'})
2024-08-02 13:31:41.593 DEBUG (MainThread) [custom_components.magentatv] async_step_ssdp SsdpServiceInfo(ssdp_usn='uuid:8ef14b6e-86b2-5397-8dda-AC6FBBB73EB5', ssdp_st='uuid:8ef14b6e-86b2-5397-8dda-AC6FBBB73EB5', upnp={'UDN': 'uuid:8ef14b6e-86b2-5397-8dda-AC6FBBB73EB5', 'friendlyName': 'Hctmagentatv', 'deviceType': 'urn:schemas-upnp-org:device:MediaRenderer:1', 'manufacturer': 'Huawei Technologies Co.,Ltd', 'modelName': 'MR401B_ACN', 'modelNumber': 'R01A5', 'productVersionNumber': '" 1243 "', 'productType': 'stb', 'serialNumber': None, 'X_wakeOnLan': '0', 'X_DLNADOC': 'DMR-1.50', 'X_DLNACAP': None, 'serviceList': {'service': [{'serviceType': 'urn:schemas-upnp-org:service:ConnectionManager:1', 'serviceId': 'urn:upnp-org:serviceId:ConnectionManager', 'controlURL': '/upnp/service/ConnectionManager/Control', 'eventSubURL': '/upnp/service/ConnectionManager/Event', 'SCPDURL': '/upnp/service/des/cms.xml'}, {'serviceType': 'urn:schemas-upnp-org:service:AVTransport:1', 'serviceId': 'urn:upnp-org:serviceId:AVTransport', 'controlURL': '/upnp/service/AVTransport/Control', 'eventSubURL': '/upnp/service/AVTransport/Event', 'SCPDURL': '/upnp/service/des/avt.xml'}, {'serviceType': 'urn:schemas-upnp-org:service:RenderingControl:1', 'serviceId': 'urn:upnp-org:serviceId:RenderingControl', 'controlURL': '/upnp/service/RenderingControl/Control', 'eventSubURL': '/upnp/service/RenderingControl/Event', 'SCPDURL': '/upnp/service/des/rcs.xml'}, {'serviceType': 'urn:schemas-upnp-org:service:X-CTC_RemotePairing:1', 'serviceId': 'urn:upnp-org:serviceId:X-CTC_RemotePairing', 'controlURL': '/upnp/service/X-CTC_RemotePairing/Control', 'eventSubURL': '/upnp/service/X-CTC_RemotePairing/Event', 'SCPDURL': '/upnp/service/des/X-CTC_RemotePairing.xml'}, {'serviceType': 'urn:schemas-upnp-org:service:X-CTC_RemoteControl:1', 'serviceId': 'urn:upnp-org:serviceId:X-CTC_RemoteControl', 'controlURL': '/upnp/service/X-CTC_RemoteControl/Control', 'eventSubURL': '/upnp/service/X-CTC_RemoteControl/Event', 'SCPDURL': '/upnp/service/des/X-CTC_RemoteControl.xml'}, {'serviceType': 'urn:schemas-upnp-org:service:X-CTC_OpenApp:1', 'serviceId': 'urn:upnp-org:serviceId:X-CTC_OpenApp', 'controlURL': '/upnp/service/X-CTC_OpenApp/Control', 'eventSubURL': '/upnp/service/X-CTC_OpenApp/Event', 'SCPDURL': '/upnp/service/des/X-CTC_OpenApp.xml'}]}}, ssdp_location='http://192.168.1.159:8081/xml/xctc.xml', ssdp_nt='uuid:8ef14b6e-86b2-5397-8dda-AC6FBBB73EB5', ssdp_udn='uuid:8ef14b6e-86b2-5397-8dda-AC6FBBB73EB5', ssdp_ext=None, ssdp_server='Linux/2.6 UPnP/1.1 zss/1.0', ssdp_headers={'HOST': '239.255.255.250:1900', 'CACHE-CONTROL': 'max-age=120', 'BOOTID.UPNP.ORG': '1', 'CONFIGID.UPNP.ORG': '1', 'LOCATION': 'http://192.168.1.159:8081/xml/xctc.xml', 'NT': 'uuid:8ef14b6e-86b2-5397-8dda-AC6FBBB73EB5', 'NTS': 'ssdp:alive', 'SERVER': 'Linux/2.6 UPnP/1.1 zss/1.0', 'USN': 'uuid:8ef14b6e-86b2-5397-8dda-AC6FBBB73EB5', '_host': '192.168.1.159', '_udn': 'uuid:8ef14b6e-86b2-5397-8dda-AC6FBBB73EB5', '_location_original': 'http://192.168.1.159:8081/xml/xctc.xml', 'location': 'http://192.168.1.159:8081/xml/xctc.xml', '_timestamp': datetime.datetime(2024, 8, 2, 13, 31, 36, 146589), '_remote_addr': ('192.168.1.159', 1900), '_port': 1900, '_local_addr': ('0.0.0.0', 1900), '_source': <SsdpSource.ADVERTISEMENT: 'advertisement'>}, ssdp_all_locations={'http://192.168.1.159:8081/xml/xctc.xml'}, x_homeassistant_matching_domains={'magentatv'})
2024-08-02 13:31:41.593 DEBUG (MainThread) [custom_components.magentatv] async_step_ssdp SsdpServiceInfo(ssdp_usn='uuid:8ef14b6e-86b2-5397-8dda-AC6FBBB73EB5::urn:schemas-upnp-org:device:MediaRenderer:1', ssdp_st='urn:schemas-upnp-org:device:MediaRenderer:1', upnp={'UDN': 'uuid:8ef14b6e-86b2-5397-8dda-AC6FBBB73EB5', 'friendlyName': 'Hctmagentatv', 'deviceType': 'urn:schemas-upnp-org:device:MediaRenderer:1', 'manufacturer': 'Huawei Technologies Co.,Ltd', 'modelName': 'MR401B_ACN', 'modelNumber': 'R01A5', 'productVersionNumber': '" 1243 "', 'productType': 'stb', 'serialNumber': None, 'X_wakeOnLan': '0', 'X_DLNADOC': 'DMR-1.50', 'X_DLNACAP': None, 'serviceList': {'service': [{'serviceType': 'urn:schemas-upnp-org:service:ConnectionManager:1', 'serviceId': 'urn:upnp-org:serviceId:ConnectionManager', 'controlURL': '/upnp/service/ConnectionManager/Control', 'eventSubURL': '/upnp/service/ConnectionManager/Event', 'SCPDURL': '/upnp/service/des/cms.xml'}, {'serviceType': 'urn:schemas-upnp-org:service:AVTransport:1', 'serviceId': 'urn:upnp-org:serviceId:AVTransport', 'controlURL': '/upnp/service/AVTransport/Control', 'eventSubURL': '/upnp/service/AVTransport/Event', 'SCPDURL': '/upnp/service/des/avt.xml'}, {'serviceType': 'urn:schemas-upnp-org:service:RenderingControl:1', 'serviceId': 'urn:upnp-org:serviceId:RenderingControl', 'controlURL': '/upnp/service/RenderingControl/Control', 'eventSubURL': '/upnp/service/RenderingControl/Event', 'SCPDURL': '/upnp/service/des/rcs.xml'}, {'serviceType': 'urn:schemas-upnp-org:service:X-CTC_RemotePairing:1', 'serviceId': 'urn:upnp-org:serviceId:X-CTC_RemotePairing', 'controlURL': '/upnp/service/X-CTC_RemotePairing/Control', 'eventSubURL': '/upnp/service/X-CTC_RemotePairing/Event', 'SCPDURL': '/upnp/service/des/X-CTC_RemotePairing.xml'}, {'serviceType': 'urn:schemas-upnp-org:service:X-CTC_RemoteControl:1', 'serviceId': 'urn:upnp-org:serviceId:X-CTC_RemoteControl', 'controlURL': '/upnp/service/X-CTC_RemoteControl/Control', 'eventSubURL': '/upnp/service/X-CTC_RemoteControl/Event', 'SCPDURL': '/upnp/service/des/X-CTC_RemoteControl.xml'}, {'serviceType': 'urn:schemas-upnp-org:service:X-CTC_OpenApp:1', 'serviceId': 'urn:upnp-org:serviceId:X-CTC_OpenApp', 'controlURL': '/upnp/service/X-CTC_OpenApp/Control', 'eventSubURL': '/upnp/service/X-CTC_OpenApp/Event', 'SCPDURL': '/upnp/service/des/X-CTC_OpenApp.xml'}]}}, ssdp_location='http://192.168.1.159:8081/xml/xctc.xml', ssdp_nt='urn:schemas-upnp-org:device:MediaRenderer:1', ssdp_udn='uuid:8ef14b6e-86b2-5397-8dda-AC6FBBB73EB5', ssdp_ext=None, ssdp_server='Linux/2.6 UPnP/1.1 zss/1.0', ssdp_headers={'HOST': '239.255.255.250:1900', 'CACHE-CONTROL': 'max-age=120', 'BOOTID.UPNP.ORG': '1', 'CONFIGID.UPNP.ORG': '1', 'LOCATION': 'http://192.168.1.159:8081/xml/xctc.xml', 'NT': 'urn:schemas-upnp-org:device:MediaRenderer:1', 'NTS': 'ssdp:alive', 'SERVER': 'Linux/2.6 UPnP/1.1 zss/1.0', 'USN': 'uuid:8ef14b6e-86b2-5397-8dda-AC6FBBB73EB5::urn:schemas-upnp-org:device:MediaRenderer:1', '_host': '192.168.1.159', '_udn': 'uuid:8ef14b6e-86b2-5397-8dda-AC6FBBB73EB5', '_location_original': 'http://192.168.1.159:8081/xml/xctc.xml', 'location': 'http://192.168.1.159:8081/xml/xctc.xml', '_timestamp': datetime.datetime(2024, 8, 2, 13, 31, 36, 147078), '_remote_addr': ('192.168.1.159', 1900), '_port': 1900, '_local_addr': ('0.0.0.0', 1900), '_source': <SsdpSource.ADVERTISEMENT: 'advertisement'>}, ssdp_all_locations={'http://192.168.1.159:8081/xml/xctc.xml'}, x_homeassistant_matching_domains={'magentatv'})
2024-08-02 13:31:41.611 WARNING (MainThread) [homeassistant.components.automation.sommermodus] Sommermodus: Already running
2024-08-02 13:31:48.984 ERROR (MainThread) [homeassistant.helpers.entity] Update for media_player.magentatvlivingroom fails
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 944, in async_update_ha_state
    await self.async_device_update()
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 1296, in async_device_update
    await self.async_update()
  File "/config/custom_components/magentatv/media_player.py", line 182, in async_update
    await self._client.async_pair()
  File "/config/custom_components/magentatv/api/client.py", line 97, in async_pair
    await self._register_for_events()
  File "/config/custom_components/magentatv/api/client.py", line 81, in _register_for_events
    self._event_registration_id = await self._notify_server._async_subscribe_to_service(
                                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/config/custom_components/magentatv/api/notify_server.py", line 102, in _async_subscribe_to_service
    sid = await self._async_subscribe(target, service)
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/config/custom_components/magentatv/api/notify_server.py", line 134, in _async_subscribe
    response = await self._requester.async_http_request(
                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: AiohttpRequester.async_http_request() got an unexpected keyword argument 'method'
2024-08-02 13:31:58.984 ERROR (MainThread) [homeassistant.helpers.entity] Update for media_player.magentatvlivingroom fails
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 944, in async_update_ha_state
    await self.async_device_update()
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 1296, in async_device_update
    await self.async_update()
  File "/config/custom_components/magentatv/media_player.py", line 182, in async_update
    await self._client.async_pair()
  File "/config/custom_components/magentatv/api/client.py", line 97, in async_pair
    await self._register_for_events()
  File "/config/custom_components/magentatv/api/client.py", line 81, in _register_for_events
    self._event_registration_id = await self._notify_server._async_subscribe_to_service(
                                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/config/custom_components/magentatv/api/notify_server.py", line 102, in _async_subscribe_to_service
    sid = await self._async_subscribe(target, service)
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/config/custom_components/magentatv/api/notify_server.py", line 134, in _async_subscribe
    response = await self._requester.async_http_request(
                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: AiohttpRequester.async_http_request() got an unexpected keyword argument 'method'
2024-08-02 13:32:08.985 ERROR (MainThread) [homeassistant.helpers.entity] Update for media_player.magentatvlivingroom fails
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 944, in async_update_ha_state
    await self.async_device_update()
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 1296, in async_device_update
    await self.async_update()
  File "/config/custom_components/magentatv/media_player.py", line 182, in async_update
    await self._client.async_pair()
  File "/config/custom_components/magentatv/api/client.py", line 97, in async_pair
    await self._register_for_events()
  File "/config/custom_components/magentatv/api/client.py", line 81, in _register_for_events
    self._event_registration_id = await self._notify_server._async_subscribe_to_service(
                                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/config/custom_components/magentatv/api/notify_server.py", line 102, in _async_subscribe_to_service
    sid = await self._async_subscribe(target, service)
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/config/custom_components/magentatv/api/notify_server.py", line 134, in _async_subscribe
    response = await self._requester.async_http_request(
                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: AiohttpRequester.async_http_request() got an unexpected keyword argument 'method'
2024-08-02 13:32:18.986 ERROR (MainThread) [homeassistant.helpers.entity] Update for media_player.magentatvlivingroom fails
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 944, in async_update_ha_state
    await self.async_device_update()
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 1296, in async_device_update
    await self.async_update()
  File "/config/custom_components/magentatv/media_player.py", line 182, in async_update
    await self._client.async_pair()
  File "/config/custom_components/magentatv/api/client.py", line 97, in async_pair
    await self._register_for_events()
  File "/config/custom_components/magentatv/api/client.py", line 81, in _register_for_events
    self._event_registration_id = await self._notify_server._async_subscribe_to_service(
                                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/config/custom_components/magentatv/api/notify_server.py", line 102, in _async_subscribe_to_service
    sid = await self._async_subscribe(target, service)
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/config/custom_components/magentatv/api/notify_server.py", line 134, in _async_subscribe
    response = await self._requester.async_http_request(
                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: AiohttpRequester.async_http_request() got an unexpected keyword argument 'method'
2024-08-02 13:32:28.988 ERROR (MainThread) [homeassistant.helpers.entity] Update for media_player.magentatvlivingroom fails
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 944, in async_update_ha_state
    await self.async_device_update()
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 1296, in async_device_update
    await self.async_update()
  File "/config/custom_components/magentatv/media_player.py", line 182, in async_update
    await self._client.async_pair()
  File "/config/custom_components/magentatv/api/client.py", line 97, in async_pair
    await self._register_for_events()
  File "/config/custom_components/magentatv/api/client.py", line 81, in _register_for_events
    self._event_registration_id = await self._notify_server._async_subscribe_to_service(
                                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/config/custom_components/magentatv/api/notify_server.py", line 102, in _async_subscribe_to_service
    sid = await self._async_subscribe(target, service)
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/config/custom_components/magentatv/api/notify_server.py", line 134, in _async_subscribe
    response = await self._requester.async_http_request(
                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: AiohttpRequester.async_http_request() got an unexpected keyword argument 'method'
2024-08-02 13:32:38.988 ERROR (MainThread) [homeassistant.helpers.entity] Update for media_player.magentatvlivingroom fails
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 944, in async_update_ha_state
    await self.async_device_update()
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 1296, in async_device_update
    await self.async_update()
  File "/config/custom_components/magentatv/media_player.py", line 182, in async_update
    await self._client.async_pair()
  File "/config/custom_components/magentatv/api/client.py", line 97, in async_pair
    await self._register_for_events()
  File "/config/custom_components/magentatv/api/client.py", line 81, in _register_for_events
    self._event_registration_id = await self._notify_server._async_subscribe_to_service(
                                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/config/custom_components/magentatv/api/notify_server.py", line 102, in _async_subscribe_to_service
    sid = await self._async_subscribe(target, service)
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/config/custom_components/magentatv/api/notify_server.py", line 134, in _async_subscribe
    response = await self._requester.async_http_request(
                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: AiohttpRequester.async_http_request() got an unexpected keyword argument 'method'
2024-08-02 13:32:48.989 ERROR (MainThread) [homeassistant.helpers.entity] Update for media_player.magentatvlivingroom fails
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 944, in async_update_ha_state
    await self.async_device_update()
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 1296, in async_device_update
    await self.async_update()
  File "/config/custom_components/magentatv/media_player.py", line 182, in async_update
    await self._client.async_pair()
  File "/config/custom_components/magentatv/api/client.py", line 97, in async_pair
    await self._register_for_events()
  File "/config/custom_components/magentatv/api/client.py", line 81, in _register_for_events
    self._event_registration_id = await self._notify_server._async_subscribe_to_service(
                                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/config/custom_components/magentatv/api/notify_server.py", line 102, in _async_subscribe_to_service
    sid = await self._async_subscribe(target, service)
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/config/custom_components/magentatv/api/notify_server.py", line 134, in _async_subscribe
    response = await self._requester.async_http_request(
                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: AiohttpRequester.async_http_request() got an unexpected keyword argument 'method'
2024-08-02 13:32:58.991 ERROR (MainThread) [homeassistant.helpers.entity] Update for media_player.magentatvlivingroom fails
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 944, in async_update_ha_state
    await self.async_device_update()
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 1296, in async_device_update
    await self.async_update()
  File "/config/custom_components/magentatv/media_player.py", line 182, in async_update
    await self._client.async_pair()
  File "/config/custom_components/magentatv/api/client.py", line 97, in async_pair
    await self._register_for_events()
  File "/config/custom_components/magentatv/api/client.py", line 81, in _register_for_events
    self._event_registration_id = await self._notify_server._async_subscribe_to_service(
                                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/config/custom_components/magentatv/api/notify_server.py", line 102, in _async_subscribe_to_service
    sid = await self._async_subscribe(target, service)
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/config/custom_components/magentatv/api/notify_server.py", line 134, in _async_subscribe
    response = await self._requester.async_http_request(
                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: AiohttpRequester.async_http_request() got an unexpected keyword argument 'method'
2024-08-02 13:33:08.993 ERROR (MainThread) [homeassistant.helpers.entity] Update for media_player.magentatvlivingroom fails
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 944, in async_update_ha_state
    await self.async_device_update()
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 1296, in async_device_update
    await self.async_update()
  File "/config/custom_components/magentatv/media_player.py", line 182, in async_update
    await self._client.async_pair()
  File "/config/custom_components/magentatv/api/client.py", line 97, in async_pair
    await self._register_for_events()
  File "/config/custom_components/magentatv/api/client.py", line 81, in _register_for_events
    self._event_registration_id = await self._notify_server._async_subscribe_to_service(
                                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/config/custom_components/magentatv/api/notify_server.py", line 102, in _async_subscribe_to_service
    sid = await self._async_subscribe(target, service)
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/config/custom_components/magentatv/api/notify_server.py", line 134, in _async_subscribe
    response = await self._requester.async_http_request(
                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: AiohttpRequester.async_http_request() got an unexpected keyword argument 'method'
2024-08-02 13:33:18.710 INFO (MainThread) [custom_components.magentatv] MagentaTV setup entry
2024-08-02 13:33:18.712 ERROR (MainThread) [homeassistant.components.media_player] Error adding entity media_player.magentatvlivingroom for domain media_player with platform magentatv
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 598, in _async_add_entities
    await coro
  File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 912, in _async_add_entity
    await entity.add_to_platform_finish()
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 1361, in add_to_platform_finish
    await self.async_added_to_hass()
  File "/config/custom_components/magentatv/media_player.py", line 172, in async_added_to_hass
    await self.async_update()
  File "/config/custom_components/magentatv/media_player.py", line 182, in async_update
    await self._client.async_pair()
  File "/config/custom_components/magentatv/api/client.py", line 97, in async_pair
    await self._register_for_events()
  File "/config/custom_components/magentatv/api/client.py", line 81, in _register_for_events
    self._event_registration_id = await self._notify_server._async_subscribe_to_service(
                                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/config/custom_components/magentatv/api/notify_server.py", line 102, in _async_subscribe_to_service
    sid = await self._async_subscribe(target, service)
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/config/custom_components/magentatv/api/notify_server.py", line 134, in _async_subscribe
    response = await self._requester.async_http_request(
                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: AiohttpRequester.async_http_request() got an unexpected keyword argument 'method'

Diagnostics dump

No response

Integration fails to load d/t dependency issue

System Health details

System Information

version core-2023.8.2
installation_type Home Assistant OS
dev false
hassio true
docker true
user root
virtualenv false
python_version 3.11.4
os_name Linux
os_version 6.1.21-v8
arch aarch64
timezone Europe/Berlin
config_dir /config
Home Assistant Community Store
GitHub API ok
GitHub Content ok
GitHub Web ok
GitHub API Calls Remaining 4993
Installed Version 1.32.1
Stage running
Available Repositories 1267
Downloaded Repositories 8
Home Assistant Cloud
logged_in false
can_reach_cert_server ok
can_reach_cloud_auth ok
can_reach_cloud ok
Home Assistant Supervisor
host_os Home Assistant OS 10.4
update_channel stable
supervisor_version supervisor-2023.08.1
agent_version 1.5.1
docker_version 23.0.6
disk_total 234.7 GB
disk_used 7.8 GB
healthy true
supported true
board rpi4-64
supervisor_api ok
version_api failed to load: timeout
installed_addons Let's Encrypt (4.12.9), VLC (0.2.0), Git pull (7.13.1), Studio Code Server (5.10.1), Nginx Proxy Manager (0.12.3), MariaDB (2.6.1), Advanced SSH & Web Terminal (15.0.7)
Dashboards
dashboards 1
resources 3
views 8
mode storage
Recorder
oldest_recorder_run 13. August 2023 um 06:47
current_recorder_run 18. August 2023 um 11:26
estimated_db_size 408.20 MiB
database_engine sqlite
database_version 3.41.2

Checklist

  • I have enabled debug logging for my installation.
  • I have filled out the issue template to the best of my ability.
  • This issue only contains 1 issue (if you have multiple issues, open one issue for each issue).
  • This issue is not a duplicate issue of currently previous issues..

Describe the issue

The magentatv integration fails with recent versions of HA.

Log:

Setup failed for custom integration magentatv: Requirements for magentatv not found: ['async-upnp-client==0.33.2']
Unable to install package async-upnp-client==0.33.2: ERROR: Cannot install async-upnp-client==0.33.2 because these package versions have conflicting dependencies. ERROR: ResolutionImpossible: for help visit https://pip.pypa.io/en/latest/topics/dependency-resolution/#dealing-with-dependency-conflicts [notice] A new release of pip is available: 23.1.2 -> 23.2.1 [notice] To update, run: pip install --upgrade pip

It used to work before. I think a recent update of HA Core broke the dependency.

Reproduction steps

  1. Start HA.
  2. Integration fails to load.

Debug logs

(This is an excerpt, the entire debug log has ~50k lines, I can provide more or even all of it if needed.)


2023-08-18 12:59:55.955 ERROR (SyncWorker_1) [homeassistant.util.package] Unable to install package async-upnp-client==0.33.2: ERROR: Cannot install async-upnp-client==0.33.2 because these package versions have conflicting dependencies.
ERROR: ResolutionImpossible: for help visit https://pip.pypa.io/en/latest/topics/dependency-resolution/#dealing-with-dependency-conflicts

[notice] A new release of pip is available: 23.1.2 -> 23.2.1
[notice] To update, run: pip install --upgrade pip
2023-08-18 12:59:55.957 ERROR (MainThread) [homeassistant.setup] Setup failed for custom integration magentatv: Requirements for magentatv not found: ['async-upnp-client==0.33.2'].


### Diagnostics dump

_No response_

Unable to load entity

System Health details

System Information

version core-2023.6.3
installation_type Home Assistant OS
dev false
hassio true
docker true
user root
virtualenv false
python_version 3.11.4
os_name Linux
os_version 6.1.21-v8
arch aarch64
timezone Europe/Berlin
config_dir /config
Home Assistant Community Store
GitHub API ok
GitHub Content ok
GitHub Web ok
GitHub API Calls Remaining 4683
Installed Version 1.32.1
Stage running
Available Repositories 1280
Downloaded Repositories 24
Home Assistant Cloud
logged_in false
can_reach_cert_server ok
can_reach_cloud_auth ok
can_reach_cloud ok
Home Assistant Supervisor
host_os Home Assistant OS 10.3
update_channel stable
supervisor_version supervisor-2023.06.2
agent_version 1.5.1
docker_version 23.0.6
disk_total 56.4 GB
disk_used 11.8 GB
healthy true
supported true
board rpi4-64
supervisor_api ok
version_api ok
installed_addons Duck DNS (1.15.0), Studio Code Server (5.7.0), ESPHome (2023.6.2), Advanced SSH & Web Terminal (15.0.2), Samba Backup (5.2.0), Mosquitto broker (6.2.1), FTP (4.7.1), PSA Car Controller (v3.0.12)
Dashboards
dashboards 1
resources 16
views 4
mode storage
Recorder
oldest_recorder_run 18. Juni 2023 um 19:53
current_recorder_run 28. Juni 2023 um 15:21
estimated_db_size 569.33 MiB
database_engine sqlite
database_version 3.41.2

Checklist

  • I have enabled debug logging for my installation.
  • I have filled out the issue template to the best of my ability.
  • This issue only contains 1 issue (if you have multiple issues, open one issue for each issue).
  • This issue is not a duplicate issue of currently previous issues..

Describe the issue

When trying to add my receiver (telekom 401), I get the following error:
image

The MagentaTV Integration Panel shows the following:
image

restarting homeassistant doesnt help :(

Reproduction steps

  1. Installed via HACS
  2. trying to add manual or auto-discovered Device
  3. Add ANID in the UI (Something like 350029010000000293193139)

This screen appears:
image

Debug logs

2023-06-28 15:33:50.405 WARNING (SyncWorker_1) [homeassistant.loader] We found a custom integration google_home which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2023-06-28 15:33:50.406 WARNING (SyncWorker_1) [homeassistant.loader] We found a custom integration hacs which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2023-06-28 15:33:50.406 WARNING (SyncWorker_1) [homeassistant.loader] We found a custom integration dwains_dashboard which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2023-06-28 15:33:50.407 WARNING (SyncWorker_1) [homeassistant.loader] We found a custom integration homematicip_local which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2023-06-28 15:33:50.407 WARNING (SyncWorker_1) [homeassistant.loader] We found a custom integration magentatv which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2023-06-28 15:33:50.408 WARNING (SyncWorker_1) [homeassistant.loader] We found a custom integration browser_mod which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2023-06-28 15:33:50.411 WARNING (SyncWorker_1) [homeassistant.loader] We found a custom integration pyscript which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2023-06-28 15:33:50.413 WARNING (SyncWorker_1) [homeassistant.loader] We found a custom integration solax_modbus which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2023-06-28 15:34:30.439 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection] [547169948368] Error handling message: Unknown error (unknown_error) whv 
2023-06-28 15:34:30.483 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection] [547169948368] Error handling message: Unknown error (unknown_error) whv 
2023-06-28 15:34:37.063 WARNING (MainThread) [homeassistant.helpers.frame] Detected integration that restore_state.RestoreStateData.async_get_instance is deprecated, and not intended to be called by custom components; Pleaserefactor your code to use RestoreEntity instead; restore_state.async_get(hass) can be used in the meantime. Please report issue to the custom integration author for pyscript using this method at custom_components/pyscript/__init__.py, line 83: restore_data = await RestoreStateData.async_get_instance(hass)
2023-06-28 15:34:44.037 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection] [546914931728] Error handling message: Unknown error (unknown_error) whv from 87.163.61.134 (Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36 Edg/116.0.0.0)
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/components/websocket_api/decorators.py", line 26, in _handle_async_response
    await func(hass, connection, msg)
  File "/config/custom_components/browser_mod/connection.py", line 61, in handle_connect
    dev = getBrowser(hass, browserID)
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/config/custom_components/browser_mod/browser.py", line 198, in getBrowser
    browsers[browserID] = BrowserModBrowser(hass, browserID)
                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/config/custom_components/browser_mod/browser.py", line 42, in __init__
    self.update_entities(hass)
  File "/config/custom_components/browser_mod/browser.py", line 71, in update_entities
    _assert_browser_sensor("sensor", "path", "Browser path", icon="mdi:web")
  File "/config/custom_components/browser_mod/browser.py", line 65, in _assert_browser_sensor
    adder = hass.data[DOMAIN][DATA_ADDERS][type]
            ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^
KeyError: 'sensor'
2023-06-28 15:34:51.534 WARNING (MainThread) [aioesphomeapi.reconnect_logic] Can't connect to ESPHome API for rs @ 192.168.178.137: Error connecting to ('192.168.178.137', 6053): [Errno 113] Connect call failed ('192.168.178.137', 6053)
2023-06-28 15:34:51.537 WARNING (MainThread) [aioesphomeapi.reconnect_logic] Can't connect to ESPHome API for knocksensor @ 192.168.178.141: Error connecting to ('192.168.178.141', 6053): [Errno 113] Connect call failed ('192.168.178.141', 6053)
2023-06-28 15:34:52.261 WARNING (MainThread) [homeassistant.config_entries] Config entry 'Marantz:[M-CR603]' for denonavr integration not ready yet: NetworkError: All connection attempts failed; Retrying in background
2023-06-28 15:35:16.058 WARNING (MainThread) [homeassistant.bootstrap] Waiting on integrations to complete setup: fritz, binary_sensor.fritz
2023-06-28 15:35:17.550 WARNING (MainThread) [homeassistant.components.binary_sensor] Setup of binary_sensor platform fritz is taking over 10 seconds.
2023-06-28 15:35:30.310 WARNING (MainThread) [homeassistant.components.zha.core.cluster_handlers] [0x6713:11:0x0300]: async_initialize: all attempts have failed: [DeliveryError('Request failed after 5 attempts: <Status.MAC_NO_ACK: 233>'), DeliveryError('Request failed after 5 attempts: <Status.MAC_NO_ACK: 233>'), DeliveryError('Request failed after 5 attempts: <Status.MAC_NO_ACK: 233>'), DeliveryError('Request failed after 5 attempts: <Status.MAC_NO_ACK: 233>')]
2023-06-28 15:35:30.334 WARNING (MainThread) [homeassistant.components.zha.core.cluster_handlers] [0x6713:11:0x0008]: async_initialize: all attempts have failed: [DeliveryError('Request failed after 5 attempts: <Status.MAC_NO_ACK: 233>'), DeliveryError('Request failed after 5 attempts: <Status.MAC_NO_ACK: 233>'), DeliveryError('Request failed after 5 attempts: <Status.MAC_NO_ACK: 233>'), DeliveryError('Request failed after 5 attempts: <Status.MAC_NO_ACK: 233>')]
2023-06-28 15:35:30.336 WARNING (MainThread) [homeassistant.components.zha.core.cluster_handlers] [0x6713:11:0x0006]: async_initialize: all attempts have failed: [DeliveryError('Request failed after 5 attempts: <Status.MAC_NO_ACK: 233>'), DeliveryError('Request failed after 5 attempts: <Status.MAC_NO_ACK: 233>'), DeliveryError('Request failed after 5 attempts: <Status.MAC_NO_ACK: 233>'), DeliveryError('Request failed after 5 attempts: <Status.MAC_NO_ACK: 233>')]
2023-06-28 15:35:30.536 INFO (MainThread) [custom_components.pyscript.file.pv_excess_control.pv_excess_control] [switch.waschkuche_switch_0 (Prio 1)] Registered appliance.
2023-06-28 15:35:30.540 INFO (MainThread) [custom_components.pyscript.file.pv_excess_control.pv_excess_control] [switch.keller_g_01_wallbox (Prio 1)] Registered appliance.
2023-06-28 15:35:31.022 ERROR (MainThread) [custom_components.pyscript.file.pv_excess_control.on_time] num=unknown is not a valid number between 0 and 1000000: could not convert string to float: 'unknown'
2023-06-28 15:35:31.068 ERROR (MainThread) [custom_components.pyscript.file.pv_excess_control.on_time] Could not update Export/PV history!: int() argument must be a string, a bytes-like object or a real number, not 'NoneType'
2023-06-28 15:35:34.184 ERROR (stream_worker) [homeassistant.components.stream.stream.camera.192_168_178_39] Error from stream worker: Error opening stream (ERRORTYPE_113, Host is unreachable) rtsp://****:****@192.168.178.39:554/ipcam_h264.sdp
2023-06-28 15:35:35.457 WARNING (MainThread) [aioesphomeapi.reconnect_logic] Can't connect to ESPHome API for rs @ 192.168.178.137: Error connecting to ('192.168.178.137', 6053): [Errno 113] Connect call failed ('192.168.178.137', 6053)
2023-06-28 15:35:35.489 WARNING (MainThread) [aioesphomeapi.reconnect_logic] Can't connect to ESPHome API for knocksensor @ 192.168.178.141: Error connecting to ('192.168.178.141', 6053): [Errno 113] Connect call failed ('192.168.178.141', 6053)
2023-06-28 15:35:40.555 ERROR (MainThread) [custom_components.pyscript.file.pv_excess_control.on_time] num=unknown is not a valid number between 0 and 1000000: could not convert string to float: 'unknown'
2023-06-28 15:35:40.560 ERROR (MainThread) [custom_components.pyscript.file.pv_excess_control.on_time] Could not update Export/PV history!: int() argument must be a string, a bytes-like object or a real number, not 'NoneType'
2023-06-28 15:35:47.266 ERROR (stream_worker) [homeassistant.components.stream.stream.camera.192_168_178_39] Error from stream worker: Error opening stream (ERRORTYPE_113, Host is unreachable) rtsp://****:****@192.168.178.39:554/ipcam_h264.sdp
2023-06-28 15:35:51.646 ERROR (MainThread) [homeassistant.setup] Error during setup of component magentatv
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/setup.py", line 286, in _async_setup_component
    result = await task
             ^^^^^^^^^^
  File "/config/custom_components/magentatv/__init__.py", line 66, in async_setup
    config = entry[DOMAIN]
             ~~~~~^^^^^^^^
KeyError: 'magentatv'
2023-06-28 15:36:10.342 ERROR (stream_worker) [homeassistant.components.stream.stream.camera.192_168_178_39] Error from stream worker: Error opening stream (ERRORTYPE_113, Host is unreachable) rtsp://****:****@192.168.178.39:554/ipcam_h264.sdp
2023-06-28 15:36:20.561 DEBUG (MainThread) [custom_components.pyscript.file.pv_excess_control.on_time] Export History: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 8872]
2023-06-28 15:36:20.562 DEBUG (MainThread) [custom_components.pyscript.file.pv_excess_control.on_time] PV Excess (PV Power - Load Power) History: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 9590]
2023-06-28 15:36:20.571 DEBUG (MainThread) [custom_components.pyscript.file.pv_excess_control.on_time] [switch.waschkuche_switch_0 (Prio 1)] Home battery charge is sufficient (99.0/100.0 %) OR remaining solar forecast is higher than remaining capacity of home battery. Calculated average excess power based on >> solar power - load power <<: 9590 W
2023-06-28 15:36:20.572 DEBUG (MainThread) [custom_components.pyscript.file.pv_excess_control.on_time] [switch.waschkuche_switch_0 (Prio 1)] Appliance is already switched on.
2023-06-28 15:36:20.576 DEBUG (MainThread) [custom_components.pyscript.file.pv_excess_control.on_time] [switch.keller_g_01_wallbox (Prio 1)] Home battery charge is sufficient (99.0/100.0 %) OR remaining solar forecast is higher than remaining capacity of home battery. Calculated average excess power based on >> solar power - load power <<: 9590 W
2023-06-28 15:36:20.577 DEBUG (MainThread) [custom_components.pyscript.file.pv_excess_control.on_time] [switch.keller_g_01_wallbox (Prio 1)] Appliance is already switched on.
2023-06-28 15:36:20.579 DEBUG (MainThread) [custom_components.pyscript.file.pv_excess_control.on_time] [switch.keller_g_01_wallbox (Prio 1)] Average Excess Power (9590 W) is still greater than minimum excess power (-10 W) - Doing nothing.
2023-06-28 15:36:20.580 DEBUG (MainThread) [custom_components.pyscript.file.pv_excess_control.on_time] [switch.waschkuche_switch_0 (Prio 1)] Average Excess Power (9590 W) is still greater than minimum excess power (-10 W) - Doing nothing.
2023-06-28 15:36:43.426 ERROR (stream_worker) [homeassistant.components.stream.stream.camera.192_168_178_39] Error from stream worker: Error opening stream (ERRORTYPE_113, Host is unreachable) rtsp://****:****@192.168.178.39:554/ipcam_h264.sdp
2023-06-28 15:37:20.561 DEBUG (MainThread) [custom_components.pyscript.file.pv_excess_control.on_time] Export History: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 8872, 8872]
2023-06-28 15:37:20.562 DEBUG (MainThread) [custom_components.pyscript.file.pv_excess_control.on_time] PV Excess (PV Power - Load Power) History: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 9590, 9588]
2023-06-28 15:37:20.567 DEBUG (MainThread) [custom_components.pyscript.file.pv_excess_control.on_time] [switch.waschkuche_switch_0 (Prio 1)] Home battery charge is sufficient (99.0/100.0 %) OR remaining solar forecast is higher than remaining capacity of home battery. Calculated average excess power based on >> solar power - load power <<: 9588 W
2023-06-28 15:37:20.568 DEBUG (MainThread) [custom_components.pyscript.file.pv_excess_control.on_time] [switch.waschkuche_switch_0 (Prio 1)] Appliance is already switched on.
2023-06-28 15:37:20.574 DEBUG (MainThread) [custom_components.pyscript.file.pv_excess_control.on_time] [switch.keller_g_01_wallbox (Prio 1)] Home battery charge is sufficient (99.0/100.0 %) OR remaining solar forecast is higher than remaining capacity of home battery. Calculated average excess power based on >> solar power - load power <<: 9588 W
2023-06-28 15:37:20.575 DEBUG (MainThread) [custom_components.pyscript.file.pv_excess_control.on_time] [switch.keller_g_01_wallbox (Prio 1)] Appliance is already switched on.
2023-06-28 15:37:20.575 DEBUG (MainThread) [custom_components.pyscript.file.pv_excess_control.on_time] [switch.keller_g_01_wallbox (Prio 1)] Average Excess Power (9588 W) is still greater than minimum excess power (-10 W) - Doing nothing.
2023-06-28 15:37:20.576 DEBUG (MainThread) [custom_components.pyscript.file.pv_excess_control.on_time] [switch.waschkuche_switch_0 (Prio 1)] Average Excess Power (9588 W) is still greater than minimum excess power (-10 W) - Doing nothing.
2023-06-28 15:37:26.499 ERROR (stream_worker) [homeassistant.components.stream.stream.camera.192_168_178_39] Error from stream worker: Error opening stream (ERRORTYPE_113, Host is unreachable) rtsp://****:****@192.168.178.39:554/ipcam_h264.sdp
2023-06-28 15:38:19.587 ERROR (stream_worker) [homeassistant.components.stream.stream.camera.192_168_178_39] Error from stream worker: Error opening stream (ERRORTYPE_113, Host is unreachable) rtsp://****:****@192.168.178.39:554/ipcam_h264.sdp

Diagnostics dump

No response

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.