PlusPlus-ua / ha_tuya_ble

Home Assistant support for Tuya BLE devices
MIT License
199 stars 141 forks source link

Error after HA update to: 2024.1.0 #98

Open mimikm opened 10 months ago

mimikm commented 10 months ago

Hi After update to version 2024.1.0 integration stopped working. Trying to add another instance then displays:

Error Config flow could not be loaded: {"message":"Invalid handler specified"

logs:

Logger: homeassistant.config_entries Source: config_entries.py:2087 First occurred: 16:27:32 (5 occurrences) Last logged: 16:40:57

Error occurred loading flow for integration tuya_ble: cannot import name 'CONF_COUNTRY_CODE' from 'homeassistant.components.tuya.const' `(/usr/src/homeassistant/homeassistant/components/tuya/const.py)

Core 2024.1.0 Supervisor 2023.12.0 Operating System Frontend 20240103.3

mclever commented 10 months ago

See https://github.com/PlusPlus-ua/ha_tuya_ble/compare/main...michalbundyra:ha_tuya_ble:fix/ha-2024.1 for the changes to the two files to fix the issue

marto68 commented 10 months ago

Thanks for fixing it so quickly. Works a charm! 👍

mimikm commented 10 months ago

See main...michalbundyra:ha_tuya_ble:fix/ha-2024.1 for the changes to the two files to fix the issue

works like a charm, thank you