TionAPI / HA-tion

Home assistant integration for Tion breezers
Apache License 2.0
72 stars 6 forks source link

HA 2022.9.6 не добавляются бризеры. Detected integration that attempted to call BleakClient with an address instead of a BLEDevice #115

Closed UnnamedHero closed 2 years ago

UnnamedHero commented 2 years ago

Общая информация

Debug-log

2022-09-25 07:23:46.066 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration tion 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
2022-09-25 07:25:33.003 DEBUG (MainThread) [custom_components.tion.config_flow] Going create entry with name Бризер гостиная
2022-09-25 07:25:33.003 DEBUG (MainThread) [custom_components.tion.config_flow] {'model': 'Lite', 'name': 'Бризер гостиная', 'mac': 'd5:66:95:e5:3d:8c', 'keep_alive': 60, 'away_temp': 15, 'pair': False}
2022-09-25 07:25:33.015 WARNING (MainThread) [homeassistant.helpers.frame] Detected integration that attempted to call BleakClient with an address instead of a BLEDevice. Please report issue to the custom integration author for tion using this method at custom_components/tion/config_flow.py, line 104: return Breezer(mac)
2022-09-25 07:25:33.021 ERROR (MainThread) [custom_components.tion.config_flow] Could not get data from breezer. result is {}, error: No device found for address d5:66:95:e5:3d:8c
2022-09-25 07:25:39.157 DEBUG (MainThread) [custom_components.tion.config_flow] Add failed. Returning to first step
2022-09-25 07:27:43.274 DEBUG (MainThread) [custom_components.tion.config_flow] Going create entry with name Бризер гостиная
2022-09-25 07:27:43.274 DEBUG (MainThread) [custom_components.tion.config_flow] {'model': 'Lite', 'name': 'Бризер гостиная', 'mac': 'd5:66:95:e5:3d:8c', 'keep_alive': 60, 'away_temp': 15, 'pair': False}
2022-09-25 07:27:43.278 ERROR (MainThread) [custom_components.tion.config_flow] Could not get data from breezer. result is {}, error: No device found for address d5:66:95:e5:3d:8c
2022-09-25 07:27:44.880 DEBUG (MainThread) [custom_components.tion.config_flow] Add failed. Returning to first step

Как можно воспроизвети вашу проблему

  1. обновить HA до 2022.9.6
  2. обновить интеграцию до 4.1.0
  3. перезагрузить HA
IATkachenko commented 2 years ago

Ох....

IATkachenko commented 2 years ago

Любите вы все по поводу и без из передобавлять ;)

Исправлено в v4.1.1.