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
Describe the bug
I have Candy oven connected by this integration and in HA log I found this warning, with information, that I should create bug, please see Home Assistant Logs
To Reproduce
Expected behavior
Screenshots
Environment (please complete the following information):
Home Assistant Version: 2024.5.1
hOn Integration Version v0.13.0
pyhOn Version:
Additional context
Home Assistant Logs
Logger: homeassistant.helpers.typing
Zdroj: helpers/deprecation.py:206
První výskyt: 21:40:04 (15 výskyty)
Naposledy logováno: 21:40:37
HomeAssistantType was used from hon, this is a deprecated alias which will be removed in HA Core 2025.5. Use homeassistant.core.HomeAssistant instead, please report it to the author of the 'hon' custom integration
EventType was used from icloud3, this is a deprecated alias which will be removed in HA Core 2025.5. Use homeassistant.core.Event instead, please report it to the author of the 'icloud3' custom integration
HomeAssistantType was used from watchman, this is a deprecated alias which will be removed in HA Core 2025.5. Use homeassistant.core.HomeAssistant instead, please report it to the author of the 'watchman' custom integration
Device Log
When I follow step what was wrote here I just got this error in log:
Logger: homeassistant.components.websocket_api.http.connection
Zdroj: components/websocket_api/commands.py:239
integrace: Home Assistant WebSocket API (dokumentace, problémy)
První výskyt: 23:13:16 (1 výskyty)
Naposledy logováno: 23:13:16
[547549056320] Unexpected exception
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/components/websocket_api/commands.py", line 239, in handle_call_service
response = await hass.services.async_call(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/core.py", line 2738, in async_call
response_data = await coro
^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/core.py", line 2779, in _execute_service
return await target(service_call)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 975, in entity_service_call
single_response = await _handle_entity_call(
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 1047, in _handle_entity_call
result = await task
^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/components/button/init.py", line 134, in _async_press_action
await self.async_press()
File "/config/custom_components/hon/button.py", line 94, in async_press
info = f"{self._device.diagnose}{versions}"
^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/pyhon/appliance.py", line 246, in diagnose
return diagnose.yaml_export(self, anonymous=True)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/pyhon/diagnose.py", line 92, in yaml_export
result = printer.pretty_print({"data": data})
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/pyhon/printer.py", line 43, in pretty_print
result += pretty_print(
^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/pyhon/printer.py", line 43, in pretty_print
result += pretty_print(
^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/pyhon/printer.py", line 43, in pretty_print
result += pretty_print(
^^^^^^^^^^^^^
[Previous line repeated 1 more time]
File "/usr/local/lib/python3.12/site-packages/pyhon/printer.py", line 51, in pretty_print
result += f"{space}{'- ' if is_list else ''}{key}{': ' if key else ''}{data}\n"
^^^^^^
TypeError: str returned non-string (type int)
Describe the bug
I have Candy oven connected by this integration and in HA log I found this warning, with information, that I should create bug, please see Home Assistant Logs
To Reproduce
Expected behavior
Screenshots
Environment (please complete the following information):
Home Assistant Version: 2024.5.1
hOn Integration Version v0.13.0
pyhOn Version:
Additional context
Home Assistant Logs
Logger: homeassistant.helpers.typing
Zdroj: helpers/deprecation.py:206
První výskyt: 21:40:04 (15 výskyty)
Naposledy logováno: 21:40:37
HomeAssistantType was used from hon, this is a deprecated alias which will be removed in HA Core 2025.5. Use homeassistant.core.HomeAssistant instead, please report it to the author of the 'hon' custom integration
EventType was used from icloud3, this is a deprecated alias which will be removed in HA Core 2025.5. Use homeassistant.core.Event instead, please report it to the author of the 'icloud3' custom integration
HomeAssistantType was used from watchman, this is a deprecated alias which will be removed in HA Core 2025.5. Use homeassistant.core.HomeAssistant instead, please report it to the author of the 'watchman' custom integration
Device Log
When I follow step what was wrote here I just got this error in log:
Logger: homeassistant.components.websocket_api.http.connection
Zdroj: components/websocket_api/commands.py:239
integrace: Home Assistant WebSocket API (dokumentace, problémy)
První výskyt: 23:13:16 (1 výskyty)
Naposledy logováno: 23:13:16
[547549056320] Unexpected exception
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/components/websocket_api/commands.py", line 239, in handle_call_service
response = await hass.services.async_call(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/core.py", line 2738, in async_call
response_data = await coro
^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/core.py", line 2779, in _execute_service
return await target(service_call)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 975, in entity_service_call
single_response = await _handle_entity_call(
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 1047, in _handle_entity_call
result = await task
^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/components/button/init.py", line 134, in _async_press_action
await self.async_press()
File "/config/custom_components/hon/button.py", line 94, in async_press
info = f"{self._device.diagnose}{versions}"
^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/pyhon/appliance.py", line 246, in diagnose
return diagnose.yaml_export(self, anonymous=True)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/pyhon/diagnose.py", line 92, in yaml_export
result = printer.pretty_print({"data": data})
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/pyhon/printer.py", line 43, in pretty_print
result += pretty_print(
^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/pyhon/printer.py", line 43, in pretty_print
result += pretty_print(
^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/pyhon/printer.py", line 43, in pretty_print
result += pretty_print(
^^^^^^^^^^^^^
[Previous line repeated 1 more time]
File "/usr/local/lib/python3.12/site-packages/pyhon/printer.py", line 51, in pretty_print
result += f"{space}{'- ' if is_list else ''}{key}{': ' if key else ''}{data}\n"
^^^^^^
TypeError: str returned non-string (type int)
Data Archive
ov_1002-2.zip
The text was updated successfully, but these errors were encountered: