FutureTense / keymaster

Home Assistant integration for managing Z-Wave enabled locks
MIT License
238 stars 45 forks source link

ISSUE: STATE_LOCKED and STATE_UNLOCKED are deprecated #386

Closed redstone99 closed 3 weeks ago

redstone99 commented 1 month ago

Describe the bug HomeAssistant 2024.10 shows a deprecation warning. Looks like some constants need to be updated.

2024-10-05 15:05:00.878 WARNING (ImportExecutor_0) [homeassistant.const] STATE_LOCKED was used from keymaster, 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 'keymaster' custom integration
2024-10-05 15:05:00.881 WARNING (ImportExecutor_0) [homeassistant.const] STATE_UNLOCKED was used from keymaster, 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 'keymaster' custom integration

Environment (please complete the following information):