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
2024-12-12 19:26:27.429 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-12-12 19:26:27.430 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration miheater 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-12-12 19:26:31.985 WARNING (ImportExecutor_0) [homeassistant.components.climate.const] HVAC_MODE_HEAT was used from miheater, this is a deprecated constant which will be removed in HA Core 2025.1. Use HVACMode.HEAT instead, please report it to the author of the 'miheater' custom integration
2024-12-12 19:26:31.987 WARNING (ImportExecutor_0) [homeassistant.components.climate.const] HVAC_MODE_COOL was used from miheater, this is a deprecated constant which will be removed in HA Core 2025.1. Use HVACMode.COOL instead, please report it to the author of the 'miheater' custom integration
2024-12-12 19:26:31.989 WARNING (ImportExecutor_0) [homeassistant.components.climate.const] HVAC_MODE_OFF was used from miheater, this is a deprecated constant which will be removed in HA Core 2025.1. Use HVACMode.OFF instead, please report it to the author of the 'miheater' custom integration
2024-12-12 19:26:31.991 WARNING (ImportExecutor_0) [homeassistant.components.climate.const] SUPPORT_TARGET_TEMPERATURE was used from miheater, this is a deprecated constant which will be removed in HA Core 2025.1. Use ClimateEntityFeature.TARGET_TEMPERATURE instead, please report it to the author of the 'miheater' custom integration
2024-12-12 19:26:31.993 WARNING (ImportExecutor_0) [homeassistant.components.climate.const] SUPPORT_FAN_MODE was used from miheater, this is a deprecated constant which will be removed in HA Core 2025.1. Use ClimateEntityFeature.FAN_MODE instead, please report it to the author of the 'miheater' custom integration
2024-12-12 19:26:31.994 WARNING (ImportExecutor_0) [homeassistant.const] TEMP_CELSIUS was used from miheater, this is a deprecated constant which will be removed in HA Core 2025.1. Use UnitOfTemperature.CELSIUS instead, please report it to the author of the 'miheater' custom integration
2024-12-12 19:26:37.459 ERROR (SyncWorker_5) [custom_components.miheater.climate] Fail to setup Xiaomi heater
Traceback (most recent call last):
File "/config/custom_components/miheater/climate.py", line 72, in setup_platform
device_info = device.info()
File "/usr/local/lib/python3.13/site-packages/miio/click_common.py", line 184, in _wrap
return func(self, *args, **kwargs)
File "/usr/local/lib/python3.13/site-packages/miio/device.py", line 148, in info
return self._fetch_info()
~~~~~~~~~~~~~~~~^^
File "/usr/local/lib/python3.13/site-packages/miio/device.py", line 153, in _fetch_info
devinfo = DeviceInfo(self.send("miIO.info"))
~~~~~~~~~^^^^^^^^^^^^^
File "/usr/local/lib/python3.13/site-packages/miio/device.py", line 107, in send
return self._protocol.send(
~~~~~~~~~~~~~~~~~~~^
command, parameters, retry_count, extra_parameters=extra_parameters
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/usr/local/lib/python3.13/site-packages/miio/miioprotocol.py", line 161, in send
self.send_handshake()
~~~~~~~~~~~~~~~~~~~^^
File "/usr/local/lib/python3.13/site-packages/miio/miioprotocol.py", line 74, in send_handshake
raise DeviceException("Unable to discover the device %s" % self.ip)
miio.exceptions.DeviceException: Unable to discover the device 10.6.61.13
2024-12-12 19:26:37.470 WARNING (MainThread) [homeassistant.components.climate] Platform miheater not ready yet: None; Retrying in background in 30 seconds
2024-12-12 19:26:42.347 WARNING (MainThread) [homeassistant.components.roborock.coordinator] Using the cloud API for device 46KlCS5JgyaqEolaqQF0td. This is not recommended as it can lead to rate limiting. We recommend making your vacuum accessible by your Home Assistant instance
2024-12-12 19:26:51.828 ERROR (SyncWorker_2) [custom_components.miheater.climate] Fail to setup Xiaomi heater
Traceback (most recent call last):
File "/config/custom_components/miheater/climate.py", line 72, in setup_platform
device_info = device.info()
File "/usr/local/lib/python3.13/site-packages/miio/click_common.py", line 183, in _wrap
self._fetch_info()
~~~~~~~~~~~~~~~~^^
File "/usr/local/lib/python3.13/site-packages/miio/device.py", line 153, in _fetch_info
devinfo = DeviceInfo(self.send("miIO.info"))
~~~~~~~~~^^^^^^^^^^^^^
File "/usr/local/lib/python3.13/site-packages/miio/device.py", line 107, in send
return self._protocol.send(
~~~~~~~~~~~~~~~~~~~^
command, parameters, retry_count, extra_parameters=extra_parameters
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/usr/local/lib/python3.13/site-packages/miio/miioprotocol.py", line 161, in send
self.send_handshake()
~~~~~~~~~~~~~~~~~~~^^
File "/usr/local/lib/python3.13/site-packages/miio/miioprotocol.py", line 74, in send_handshake
raise DeviceException("Unable to discover the device %s" % self.ip)
miio.exceptions.DeviceException: Unable to discover the device 10.6.61.13
2024-12-12 19:27:56.837 ERROR (SyncWorker_2) [custom_components.miheater.climate] Fail to setup Xiaomi heater
Traceback (most recent call last):
File "/config/custom_components/miheater/climate.py", line 72, in setup_platform
device_info = device.info()
File "/usr/local/lib/python3.13/site-packages/miio/click_common.py", line 183, in _wrap
self._fetch_info()
~~~~~~~~~~~~~~~~^^
File "/usr/local/lib/python3.13/site-packages/miio/device.py", line 153, in _fetch_info
devinfo = DeviceInfo(self.send("miIO.info"))
~~~~~~~~~^^^^^^^^^^^^^
File "/usr/local/lib/python3.13/site-packages/miio/device.py", line 107, in send
return self._protocol.send(
~~~~~~~~~~~~~~~~~~~^
command, parameters, retry_count, extra_parameters=extra_parameters
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/usr/local/lib/python3.13/site-packages/miio/miioprotocol.py", line 161, in send
self.send_handshake()
~~~~~~~~~~~~~~~~~~~^^
File "/usr/local/lib/python3.13/site-packages/miio/miioprotocol.py", line 74, in send_handshake
raise DeviceException("Unable to discover the device %s" % self.ip)
miio.exceptions.DeviceException: Unable to discover the device 10.6.61.13
--
2024-12-12 19:56:28.524 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-12-12 19:56:28.525 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration miheater 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-12-12 19:56:30.392 WARNING (ImportExecutor_0) [homeassistant.components.climate.const] HVAC_MODE_HEAT was used from miheater, this is a deprecated constant which will be removed in HA Core 2025.1. Use HVACMode.HEAT instead, please report it to the author of the 'miheater' custom integration
2024-12-12 19:56:30.394 WARNING (ImportExecutor_0) [homeassistant.components.climate.const] HVAC_MODE_COOL was used from miheater, this is a deprecated constant which will be removed in HA Core 2025.1. Use HVACMode.COOL instead, please report it to the author of the 'miheater' custom integration
2024-12-12 19:56:30.395 WARNING (ImportExecutor_0) [homeassistant.components.climate.const] HVAC_MODE_OFF was used from miheater, this is a deprecated constant which will be removed in HA Core 2025.1. Use HVACMode.OFF instead, please report it to the author of the 'miheater' custom integration
2024-12-12 19:56:30.397 WARNING (ImportExecutor_0) [homeassistant.components.climate.const] SUPPORT_TARGET_TEMPERATURE was used from miheater, this is a deprecated constant which will be removed in HA Core 2025.1. Use ClimateEntityFeature.TARGET_TEMPERATURE instead, please report it to the author of the 'miheater' custom integration
2024-12-12 19:56:30.399 WARNING (ImportExecutor_0) [homeassistant.components.climate.const] SUPPORT_FAN_MODE was used from miheater, this is a deprecated constant which will be removed in HA Core 2025.1. Use ClimateEntityFeature.FAN_MODE instead, please report it to the author of the 'miheater' custom integration
2024-12-12 19:56:30.401 WARNING (ImportExecutor_0) [homeassistant.const] TEMP_CELSIUS was used from miheater, this is a deprecated constant which will be removed in HA Core 2025.1. Use UnitOfTemperature.CELSIUS instead, please report it to the author of the 'miheater' custom integration
2024-12-12 19:56:30.814 WARNING (SyncWorker_3) [custom_components.miheater.climate] zhimi.heater.mc2 2.1.8_0006 esp32 detected
2024-12-12 19:56:31.326 WARNING (MainThread) [homeassistant.helpers.entity] Entity climate.zhimi_heater_mc2_dc_ed_83_cd_ee_64 (<class 'custom_components.miheater.climate.MiHeater'>) is using deprecated supported features values which will be removed in HA Core 2025.1. Instead it should use <ClimateEntityFeature.TARGET_TEMPERATURE: 1>, please report it to the author of the 'miheater' custom integration and reference https://developers.home-assistant.io/blog/2023/12/28/support-feature-magic-numbers-deprecation
2024-12-12 19:56:31.326 WARNING (MainThread) [homeassistant.components.climate] Entity climate.zhimi_heater_mc2_dc_ed_83_cd_ee_64 (<class 'custom_components.miheater.climate.MiHeater'>) does not set ClimateEntityFeature.TURN_OFF but implements the turn_off method. Please report it to the author of the 'miheater' custom integration
2024-12-12 19:56:31.327 WARNING (MainThread) [homeassistant.components.climate] Entity climate.zhimi_heater_mc2_dc_ed_83_cd_ee_64 (<class 'custom_components.miheater.climate.MiHeater'>) does not set ClimateEntityFeature.TURN_ON but implements the turn_on method. Please report it to the author of the 'miheater' custom integration
2024-12-12 19:56:31.327 WARNING (MainThread) [homeassistant.components.climate] Entity climate.zhimi_heater_mc2_dc_ed_83_cd_ee_64 (<class 'custom_components.miheater.climate.MiHeater'>) implements HVACMode(s): heat, off and therefore implicitly supports the turn_on/turn_off methods without setting the proper ClimateEntityFeature. Please report it to the author of the 'miheater' custom integration
2024-12-12 19:56:31.332 WARNING (SyncWorker_3) [homeassistant.helpers.frame] Detected that custom integration 'miheater' calls hass.services.async_register from a thread other than the event loop, which may cause Home Assistant to crash or data to corrupt. For more information, see https://developers.home-assistant.io/docs/asyncio_thread_safety/#hassservicesasync_register at custom_components/miheater/climate.py, line 104: hass.services.async_register(DOMAIN, SERVICE_SET_ROOM_TEMP,. Please report it to the author of the 'miheater' custom integration
2024-12-12 19:56:31.333 ERROR (MainThread) [homeassistant.components.climate] Error while setting up miheater platform for climate
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 366, in _async_setup_platform
await asyncio.shield(awaitable)
File "/usr/local/lib/python3.13/concurrent/futures/thread.py", line 58, in run
result = self.fn(*self.args, **self.kwargs)
File "/config/custom_components/miheater/climate.py", line 104, in setup_platform
hass.services.async_register(DOMAIN, SERVICE_SET_ROOM_TEMP,
~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
set_room_temp, schema=SET_ROOM_TEMP_SCHEMA)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/core.py", line 2586, in async_register
self._hass.verify_event_loop_thread("hass.services.async_register")
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/core.py", line 474, in verify_event_loop_thread
frame.report_non_thread_safe_operation(what)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^
File "/usr/src/homeassistant/homeassistant/helpers/frame.py", line 368, in report_non_thread_safe_operation
report(
~~~~~~^
f"calls {what} from a thread other than the event loop, "
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
...<5 lines>...
error_if_integration=True,
^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/usr/src/homeassistant/homeassistant/helpers/frame.py", line 164, in report
report_usage(
~~~~~~~~~~~~^
what,
^^^^^
...<4 lines>...
level=level,
^^^^^^^^^^^^
)
^
File "/usr/src/homeassistant/homeassistant/helpers/frame.py", line 242, in report_usage
_report_integration_frame(
~~~~~~~~~~~~~~~~~~~~~~~~~^
what,
^^^^^
...<3 lines>...
integration_behavior is ReportBehavior.ERROR,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/usr/src/homeassistant/homeassistant/helpers/frame.py", line 340, in _report_integration_frame
raise RuntimeError(
...<5 lines>...
)
RuntimeError: Detected that custom integration 'miheater' calls hass.services.async_register from a thread other than the event loop, which may cause Home Assistant to crash or data to corrupt. For more information, see https://developers.home-assistant.io/docs/asyncio_thread_safety/#hassservicesasync_register at custom_components/miheater/climate.py, line 104: hass.services.async_register(DOMAIN, SERVICE_SET_ROOM_TEMP,. Please report it to the author of the 'miheater' custom integration
The text was updated successfully, but these errors were encountered:
Errors:
--
The text was updated successfully, but these errors were encountered: