Ворнинги от Home Assistant с пометкой сообщить автору интеграции
Общая информация
- версия Home Assistant: 2024.11.1
- способ установки Home Assistant: [ ] venv [ ] Docker [ ] Home Assistant OS [x] NixOS
- версия компонента: 4.1.9
- модель бризера: Lite
- версия python-модуля: 3.3.6
[x] в момент проявления проблемы к бризеру никто не подключен [x] bluetooth в системе работает корректно, действий из WiKi не требуется [x] проблема не похожа ни на одну из FAQ
Краткое описание
Ворнинги в логах с просьбой сообщить автору интеграции
Debug-log
2025-03-29 21:36:21.655 WARNING (MainThread) [homeassistant.components.climate] Entity None (<class 'custom_components.ha_tion_btle.climate.TionClimateEntity'>) implements HVACMode(s): heat, fan_only, off and therefore implicitly supports the turn_on/turn_off methods without setting the proper ClimateEntityFeature. Please report it to the author of the 'ha_tion_btle' custom integration
2025-03-29 21:36:21.665 WARNING (MainThread) [homeassistant.components.fan] Entity None (<class 'custom_components.ha_tion_btle.fan.TionFan'>) does not set FanEntityFeature.TURN_OFF but implements the turn_off method. Please report it to the author of the 'ha_tion_btle' custom integration
Как можно воспроизвети вашу проблему
Просто подключил девайсы, предварительно запарившись с ними через bluetoothctl
Дополнительное описание
Вроде как все работает, просто ворнинги
Большое спасибо за компонент! Нативное приложение от бризеров полная жесть, надеюсь на кардинальное улучшение качества жизни с этим компонентом)
Спасибо за интеграцию, New issue не дает добавить. Со временем, с обновлениями как HA, так и интеграции все больше ошибок накапливается. Ниже свежая выгрузка по ним. Но самое грустно-печальное это то, что с очередным обновлением кнопка выключения и включения бризера перестала работать как в HA ("Объект fan.ha_tion_btle_ef_bb_ec_21_e1_48_fan_speed не поддерживает действие fan.turn_off.") так и прокинутый в Умный Дом Алисы (Yaha Cloud) бризер не может включаться и выключаться. Прошу это починить
2025-03-29 21:16:46.007 WARNING (MainThread) [homeassistant.helpers.frame] Detected that custom integration 'ha_tion_btle' calls async_forward_entry_setup for integration, ha_tion_btle with title: Tion Breezer and entry_id: fc5e67dd0244b8ea685ba7820a1f4bf3, which is deprecated, await async_forward_entry_setups instead at custom_components/ha_tion_btle/__init__.py, line 48: result = result & await hass.config_entries.async_forward_entry_setup(entry=config_entry, domain=platform). This will stop working in Home Assistant 2025.6, please report it to the author of the 'ha_tion_btle' custom integration
2025-03-29 21:17:55.633 WARNING (MainThread) [tion_btle.tion] Got exception: Service Discovery has not been performed yet. Will try again
2025-03-29 21:17:55.633 WARNING (MainThread) [tion_btle.tion] Got exception: Service Discovery has not been performed yet. Will try again
2025-03-29 21:17:55.634 WARNING (MainThread) [tion_btle.tion] Got exception: Service Discovery has not been performed yet. Will try again
2025-03-29 21:17:55.634 WARNING (MainThread) [tion_btle.tion] Got exception: Service Discovery has not been performed yet. Will not try again
2025-03-29 21:17:55.634 CRITICAL (MainThread) [tion_btle.tion] Retry limit (3) exceeded for _try_write((<tion_btle.s4.TionS4 object at 0x7fb37482c1a0>,), {'request': bytearray(b'\x80\x10\x00:\xa122\x99RJ2\xf5\xb8\xc3f\xbb\xaa')})
2025-03-29 21:17:55.634 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection] [140408768033936] Unexpected exception
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/components/websocket_api/commands.py", line 245, in handle_call_service
response = await hass.services.async_call(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
...<7 lines>...
)
^
File "/usr/src/homeassistant/homeassistant/core.py", line 2794, in async_call
response_data = await coro
^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/core.py", line 2837, in _execute_service
return await target(service_call)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 1007, in entity_service_call
single_response = await _handle_entity_call(
^^^^^^^^^^^^^^^^^^^^^^^^^^
hass, entity, func, data, call.context
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 1079, in _handle_entity_call
result = await task
^^^^^^^^^^
File "/config/custom_components/ha_tion_btle/fan.py", line 139, in async_set_percentage
await self.coordinator.set(fan_speed=self.percent2mode(percentage), is_on=percentage > 0)
File "/config/custom_components/ha_tion_btle/__init__.py", line 157, in set
await self.__tion.set(kwargs)
File "/usr/local/lib/python3.13/site-packages/tion_btle/tion.py", line 249, in set
current_settings = await self.get(skip_update=True)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.13/site-packages/tion_btle/tion.py", line 209, in get
await self.get_state_from_breezer()
File "/usr/local/lib/python3.13/site-packages/tion_btle/tion.py", line 190, in get_state_from_breezer
await self._try_write(request=self.command_getStatus)
File "/usr/local/lib/python3.13/site-packages/tion_btle/tion.py", line 46, in wrapper
raise MaxTriesExceededError
tion_btle.tion.MaxTriesExceededError
2025-03-29 21:17:56.168 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection] [140408768033936] Unexpected exception
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/components/websocket_api/commands.py", line 245, in handle_call_service
response = await hass.services.async_call(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
...<7 lines>...
)
^
File "/usr/src/homeassistant/homeassistant/core.py", line 2794, in async_call
response_data = await coro
^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/core.py", line 2837, in _execute_service
return await target(service_call)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 1007, in entity_service_call
single_response = await _handle_entity_call(
^^^^^^^^^^^^^^^^^^^^^^^^^^
hass, entity, func, data, call.context
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 1079, in _handle_entity_call
result = await task
^^^^^^^^^^
File "/config/custom_components/ha_tion_btle/fan.py", line 139, in async_set_percentage
await self.coordinator.set(fan_speed=self.percent2mode(percentage), is_on=percentage > 0)
File "/config/custom_components/ha_tion_btle/__init__.py", line 157, in set
await self.__tion.set(kwargs)
File "/usr/local/lib/python3.13/site-packages/tion_btle/tion.py", line 249, in set
current_settings = await self.get(skip_update=True)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.13/site-packages/tion_btle/tion.py", line 209, in get
await self.get_state_from_breezer()
File "/usr/local/lib/python3.13/site-packages/tion_btle/tion.py", line 191, in get_state_from_breezer
response = await self._get_data_from_breezer()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.13/site-packages/tion_btle/tion.py", line 568, in _get_data_from_breezer
raise TionException("_get_data_from_breezer", "Could not get breezer state")
tion_btle.tion.TionException: ('_get_data_from_breezer', 'Could not get breezer state')
2025-03-29 21:18:42.557 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection] [140408768033936] Entity fan.ha_tion_btle_ef_bb_ec_21_e1_48_fan_speed does not support action fan.turn_off
2025-03-29 21:18:47.670 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection] [140408768033936] Entity fan.ha_tion_btle_ef_bb_ec_21_e1_48_fan_speed does not support action fan.turn_on