Updated logs.
2024-09-05 16:45:38.998 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration miele 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-09-05 16:45:39.003 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration dreame_vacuum 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-09-05 16:45:39.005 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration presence_simulation 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-09-05 16:45:39.007 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration meross_lan 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-09-05 16:45:39.009 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration frigate 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-09-05 16:45:39.010 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration sunspec 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-09-05 16:45:39.011 WARNING (SyncWorker_0) [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
2024-09-05 16:45:39.012 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration open_meteo_solar_forecast 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-09-05 16:45:39.013 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration evcc_intg 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-09-05 16:45:39.014 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration adaptive_lighting 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-09-05 16:45:39.016 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-09-05 16:45:39.017 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration sun2 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-09-05 16:45:39.018 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration scrypted 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-09-05 16:45:39.020 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-09-05 16:45:40.048 WARNING (Recorder) [homeassistant.components.recorder.util] Ended unfinished session (id=257 from 2024-09-05 07:24:00.296615)
2024-09-05 16:45:47.993 ERROR (MainThread) [homeassistant.components.device_tracker] Platform mobile_app does not generate unique IDs. ID 5A0CE96B-605D-49BE-A467-41F463A09499 already exists - ignoring device_tracker.iphone_von_martin
2024-09-05 16:45:50.463 ERROR (MainThread) [tibber.home] Error in rt_subscribe
Traceback (most recent call last):
File "/usr/local/lib/python3.12/site-packages/tibber/home.py", line 439, in _start
async for data in self._tibber_control.realtime.sub_manager.session.subscribe(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'Client' object has no attribute 'session'
2024-09-05 16:46:53.342 ERROR (MainThread) [tibber.realtime] Watchdog: Connection is down, 2024-09-05 16:47:03.342954
2024-09-05 18:35:15.870 ERROR (MainThread) [homeassistant.components.modbus.modbus] Pymodbus: Komfovent: Error: device: 0 address: 902 -> pymodbus returned isError True
2024-09-05 18:44:27.906 WARNING (MainThread) [homeassistant.components.apple_tv] Connection lost to Apple TV "Wohnzimmer"
2024-09-05 19:27:12.587 ERROR (MainThread) [tibber.realtime] Watchdog: Connection is down, 2024-09-05 19:27:22.587568
2024-09-05 20:58:31.627 ERROR (MainThread) [homeassistant.components.modbus.modbus] Pymodbus: Komfovent: Error: device: 0 address: 216 -> pymodbus returned isError True
2024-09-05 22:01:45.815 ERROR (MainThread) [homeassistant.components.modbus.modbus] Pymodbus: Komfovent: Error: device: 0 address: 199 -> pymodbus returned isError True
2024-09-06 00:42:54.317 ERROR (MainThread) [homeassistant.components.xiaomi_miio] Unexpected error fetching Mi Air Purifier 3/3H data
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 354, in _async_refresh
self.data = await self._async_update_data()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 271, in _async_update_data
return await self.update_method()
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/components/xiaomi_miio/__init__.py", line 185, in update
return await _async_fetch_data()
^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/components/xiaomi_miio/__init__.py", line 180, in _async_fetch_data
state = await hass.async_add_executor_job(device.status)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/concurrent/futures/thread.py", line 58, in run
result = self.fn(*self.args, **self.kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/miio/click_common.py", line 184, in _wrap
return func(self, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/miio/integrations/airpurifier/zhimi/airpurifier_miot.py", line 522, in status
self.set_property("aqi_realtime_update_duration", 5)
File "/usr/local/lib/python3.12/site-packages/miio/miot_device.py", line 152, in set_property
return self.send(
^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/miio/device.py", line 107, in send
return self._protocol.send(
^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/miio/miioprotocol.py", line 202, in send
self.__id = payload["id"]
~~~~~~~^^^^^^
TypeError: byte indices must be integers or slices, not str
2024-09-06 02:08:34.520 ERROR (MainThread) [homeassistant.components.modbus.modbus] Pymodbus: Komfovent: Error: device: 0 address: 201 -> pymodbus returned isError True
2024-09-06 02:25:20.179 ERROR (MainThread) [custom_components.miele] Error fetching miele data: HTTP Status 500: fetching miele data
2024-09-06 02:25:20.185 ERROR (MainThread) [homeassistant.components.template.template_entity] TemplateError('ValueError: could not convert str to datetime: 'unavailable'') while processing template 'Template<template=({% set start = states('sensor.dishwasher_started_at') %}
{% set finish = states('sensor.dishwasher_finish_at') %}
{% if 'unknown' in [start, finish] %}
0
{% else %}
{% set total_min = ( today_at(finish) - today_at(start) ).total_seconds() / 60 %}
{{ 100 - ((states('sensor.dishwasher_remaining_time') | int(0) / total_min) * 100) | int }}
{% endif %}) renders=6>' for attribute '_attr_native_value' in entity 'sensor.spulmaschine_runtime'
2024-09-06 02:25:20.186 ERROR (MainThread) [homeassistant.components.template.template_entity] TemplateError('ValueError: could not convert str to datetime: 'unavailable'') while processing template 'Template<template=({% set start = states('sensor.dishwasher_started_at') %}
{% set finish = states('sensor.dishwasher_finish_at') %}
{% if 'unknown' in [start, finish] %}
0
{% else %}
{% set total_min = ( today_at(finish) - today_at(start) ).total_seconds() / 60 %}
{{ ((states('sensor.dishwasher_remaining_time') | int(0) / total_min) * 100) | int }}
{% endif %}) renders=6>' for attribute '_attr_native_value' in entity 'sensor.spulmaschine_runtime_abs'
2024-09-06 02:57:59.826 ERROR (MainThread) [homeassistant.components.xiaomi_miio] Unexpected error fetching Mi Air Purifier 3/3H data
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 354, in _async_refresh
self.data = await self._async_update_data()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 271, in _async_update_data
return await self.update_method()
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/components/xiaomi_miio/__init__.py", line 185, in update
return await _async_fetch_data()
^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/components/xiaomi_miio/__init__.py", line 180, in _async_fetch_data
state = await hass.async_add_executor_job(device.status)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/concurrent/futures/thread.py", line 58, in run
result = self.fn(*self.args, **self.kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/miio/click_common.py", line 184, in _wrap
return func(self, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/miio/integrations/airpurifier/zhimi/airpurifier_miot.py", line 522, in status
self.set_property("aqi_realtime_update_duration", 5)
File "/usr/local/lib/python3.12/site-packages/miio/miot_device.py", line 152, in set_property
return self.send(
^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/miio/device.py", line 107, in send
return self._protocol.send(
^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/miio/miioprotocol.py", line 202, in send
self.__id = payload["id"]
~~~~~~~^^^^^^
TypeError: byte indices must be integers or slices, not str
2024-09-06 06:31:46.327 ERROR (MainThread) [custom_components.miele] Error requesting miele data: Cannot connect to host api.mcs3.miele.com:443 ssl:default [Connect call failed ('52.136.216.239', 443)]
2024-09-06 06:31:46.330 ERROR (MainThread) [homeassistant.components.template.template_entity] TemplateError('ValueError: could not convert str to datetime: 'unavailable'') while processing template 'Template<template=({% set start = states('sensor.dishwasher_started_at') %}
{% set finish = states('sensor.dishwasher_finish_at') %}
{% if 'unknown' in [start, finish] %}
0
{% else %}
{% set total_min = ( today_at(finish) - today_at(start) ).total_seconds() / 60 %}
{{ 100 - ((states('sensor.dishwasher_remaining_time') | int(0) / total_min) * 100) | int }}
{% endif %}) renders=16>' for attribute '_attr_native_value' in entity 'sensor.spulmaschine_runtime'
2024-09-06 06:31:46.331 ERROR (MainThread) [homeassistant.components.template.template_entity] TemplateError('ValueError: could not convert str to datetime: 'unavailable'') while processing template 'Template<template=({% set start = states('sensor.dishwasher_started_at') %}
{% set finish = states('sensor.dishwasher_finish_at') %}
{% if 'unknown' in [start, finish] %}
0
{% else %}
{% set total_min = ( today_at(finish) - today_at(start) ).total_seconds() / 60 %}
{{ ((states('sensor.dishwasher_remaining_time') | int(0) / total_min) * 100) | int }}
{% endif %}) renders=16>' for attribute '_attr_native_value' in entity 'sensor.spulmaschine_runtime_abs'
2024-09-06 06:31:55.375 ERROR (MainThread) [tibber.home] Error in rt_subscribe
Traceback (most recent call last):
File "/usr/local/lib/python3.12/site-packages/tibber/home.py", line 439, in _start
async for data in self._tibber_control.realtime.sub_manager.session.subscribe(
File "/usr/local/lib/python3.12/site-packages/gql/client.py", line 1475, in subscribe
async for result in inner_generator:
File "/usr/local/lib/python3.12/site-packages/gql/client.py", line 1372, in _subscribe
async for result in inner_generator:
File "/usr/local/lib/python3.12/site-packages/gql/transport/websockets_base.py", line 388, in subscribe
answer_type, execution_result = await listener.get()
^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/gql/transport/websockets_base.py", line 56, in get
raise item
gql.transport.exceptions.TransportServerError: No pong received after 15.0 seconds
2024-09-06 06:31:58.450 ERROR (MainThread) [tibber.realtime] Watchdog: Connection is down, 2024-09-06 06:32:08.450783
2024-09-06 06:33:04.082 ERROR (MainThread) [tibber.realtime] Watchdog: Connection is down, 2024-09-06 06:33:14.082127
2024-09-06 06:33:35.659 WARNING (MainThread) [pymiele.pymiele] Ping timeout, closing connection and restarting
2024-09-06 07:26:40.790 WARNING (MainThread) [custom_components.miele] Failed to process pushed data from API
2024-09-06 07:31:54.260 WARNING (MainThread) [custom_components.miele] Failed to process pushed data from API
2024-09-06 07:31:56.439 ERROR (MainThread) [homeassistant] Error doing job: Task exception was never retrieved (None)
Traceback (most recent call last):
File "/config/custom_components/miele/__init__.py", line 233, in _callback_update_actions
coordinator.async_set_updated_data(coordinator.data)
File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 489, in async_set_updated_data
self.async_update_listeners()
File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 168, in async_update_listeners
update_callback()
File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 533, in _handle_coordinator_update
self.async_write_ha_state()
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 1005, in async_write_ha_state
self._async_write_ha_state()
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 1130, in _async_write_ha_state
self.__async_calculate_state()
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 1067, in __async_calculate_state
state = self._stringify_state(available)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 1011, in _stringify_state
if (state := self.state) is None:
^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/components/number/__init__.py", line 359, in state
return self.value
^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/components/number/__init__.py", line 398, in value
if (native_value := self.native_value) is None:
^^^^^^^^^^^^^^^^^
File "/config/custom_components/miele/number.py", line 185, in native_value
return PLATE_MAP[self.coordinator.data[self._ent][self._ed.data_tag]]
~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
KeyError: 204
2024-09-06 07:36:01.607 WARNING (MainThread) [homeassistant.components.apple_tv] Connection lost to Apple TV "Wohnzimmer"
2024-09-06 07:58:08.473 ERROR (MainThread) [homeassistant.components.modbus.modbus] Pymodbus: Komfovent: Error: device: 0 address: 216 -> pymodbus returned isError True