Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deprecated alias will be removed in HA Core 2025.5 #203

Open
ond000 opened this issue May 3, 2024 · 0 comments
Open

Deprecated alias will be removed in HA Core 2025.5 #203

ond000 opened this issue May 3, 2024 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@ond000
Copy link

ond000 commented May 3, 2024

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

@ond000 ond000 added the bug Something isn't working label May 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants