homeassistant-elasticsearch
homeassistant-elasticsearch copied to clipboard
[2.0] Remove deprecated usage of `STATE_LOCKED` and `STATE_UNLOCKED`
Logger: homeassistant.const Source: helpers/deprecation.py:197 First occurred: 3:15:23 PM (2 occurrences) Last logged: 3:15:24 PM
STATE_LOCKED was used from elasticsearch, this is a deprecated constant which will be removed in HA Core 2025.10. Use LockState.LOCKED instead, please report it to the author of the 'elasticsearch' custom integration
STATE_UNLOCKED was used from elasticsearch, this is a deprecated constant which will be removed in HA Core 2025.10. Use LockState.UNLOCKED instead, please report it to the author of the 'elasticsearch' custom integration
Fixing this will require bumping the minimum HA version to 2024.10 which I think we should wait to do
From the HA core log:
The deprecated constant STATE_LOCKED was used from elasticsearch. It will be removed in HA Core 2025.10. Use LockState.LOCKED instead, please report it to the author of the 'elasticsearch' custom integration
Sounds like it's high time to get this fixed.
Fixed in v2.0.1