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

устаревание констант в версии HA 2024.1* #495

Closed
malinovsku opened this issue Jan 2, 2024 · 0 comments
Closed

Comments

@malinovsku
Copy link

в бете новой версии home assistant 2024.1b* возникает много предупреждений, часть примеров ниже.
Описание https://developers.home-assistant.io/blog/2023/12/19/constant-deprecation/

DEVICE_CLASS_GAS was used from yandex_smart_home, this is a deprecated constant which will be removed in HA Core 2025.1. Use BinarySensorDeviceClass.GAS instead, please create a bug report at https://github.com/dext0r/yandex_smart_home/issues
DEVICE_CLASS_SMOKE was used from yandex_smart_home, this is a deprecated constant which will be removed in HA Core 2025.1. Use BinarySensorDeviceClass.SMOKE instead, please create a bug report at https://github.com/dext0r/yandex_smart_home/issues
DEVICE_CLASS_BATTERY was used from yandex_smart_home, this is a deprecated constant which will be removed in HA Core 2025.1. Use BinarySensorDeviceClass.BATTERY instead, please create a bug report at https://github.com/dext0r/yandex_smart_home/issues
DEVICE_CLASS_MOISTURE was used from yandex_smart_home, this is a deprecated constant which will be removed in HA Core 2025.1. Use BinarySensorDeviceClass.MOISTURE instead, please create a bug report at https://github.com/dext0r/yandex_smart_home/issues
DEVICE_CLASS_VIBRATION was used from yandex_smart_home, this is a deprecated constant which will be removed in HA Core 2025.1. Use BinarySensorDeviceClass.VIBRATION instead, please create a bug report at https://github.com/dext0r/yandex_smart_home/issues

dext0r added a commit that referenced this issue Jan 3, 2024
dext0r added a commit that referenced this issue Jan 3, 2024
@dext0r dext0r closed this as completed Jan 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants