FutureTense / keymaster

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

ISSUE: DEVICE_CLASS_CONNECTIVITY was used from keymaster, this is a deprecated constant #349

Closed def1149 closed 5 months ago

def1149 commented 6 months ago

Describe the bug DEVICE_CLASS_CONNECTIVITY was used from keymaster, this is a deprecated constant which will be removed in HA Core 2025.1. Use BinarySensorDeviceClass.CONNECTIVITY instead, please create a bug report at https://github.com/FutureTense/keymaster/issues Environment (please complete the following information):

Logs DEVICE_CLASS_CONNECTIVITY was used from keymaster, this is a deprecated constant which will be removed in HA Core 2025.1. Use BinarySensorDeviceClass.CONNECTIVITY instead, please create a bug report at https://github.com/FutureTense/keymaster/issues Environment (please complete the following information): Screenshots If applicable, add screenshots to help explain your problem.

Additional context Add any other context about the problem here. Please add emails in plain/text format if possible and applicable.

rchorowitz commented 5 months ago

We have not been able to use our locks in weeks due to this error.

Does anyone have a solution?

Screenshot 2024-01-24 215821

def1149 commented 5 months ago

I've seen this deprecation warning at boot time. It won't cause issues until 2025.1 if it's not fixed. I don't think that is your problem core 2024.1.5 OS 11.4 My BE469ZP is working fine

rchorowitz commented 5 months ago

Happened after the last core update I believe.... Any suggestions on how to diagnose or repair?

Core: 2024.1.5 Supervisor: 2023.12.1 Operating System: 11.4 Frontend: 20240104.0

def1149 commented 5 months ago

Looks like your Keymaster setup has a problem. All its entities are missing Check Settings>Devices & Services>Key Master and enable debugging and see if anything shows when you end debugging and download the log I'd check your lock in Z-Wave and see if it's working. You should be able to lock and unlock it there and view a lot of sensor data Try a hard reboot of HA. If that doesn't work you need to reinstall I'm not an expert with Key Master. I'd create a separate problem report

jeprice77 commented 5 months ago

I updated Home Assistant core today to version 2024.1.6 and it broke my kwikset lock that uses keymaster. I got the same results as others described here and the following warning in the system log.

DEVICE_CLASS_CONNECTIVITY was used from keymaster, this is a deprecated constant which will be removed in HA Core 2025.1. Use BinarySensorDeviceClass.CONNECTIVITY instead, please create a bug report at https://github.com/FutureTense/keymaster/issues

I restored my backup made before the update, and everything started working again. I will wait to see what happens before updating Home Assistant again.

firstof9 commented 5 months ago

This is a warning and non-blocking error message, it doesn't stop anything from working.

jeprice77 commented 5 months ago

I knew it was a warning, but can't explain why the newer version of Home Assistant Core makes it stop working. I rolled back the version using my backup and it works fine. I am not sure why. Keymaster works fine with Home assistant version 2023.12.4 works but I can't get it to work with 2024.1.6.

On Wed, Jan 31, 2024, 3:25 PM Chris @.***> wrote:

This is a warning and non-blocking error message, it doesn't stop anything from working.

— Reply to this email directly, view it on GitHub https://github.com/FutureTense/keymaster/issues/349#issuecomment-1919892996, or unsubscribe https://github.com/notifications/unsubscribe-auth/AKQYMR4GY3KH4Y3UYWKVXIDYRKSEDAVCNFSM6AAAAABBFVOFHCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSMJZHA4TEOJZGY . You are receiving this because you commented.Message ID: @.***>

firstof9 commented 5 months ago

Runs fine here on 2024.1.5, you'd need to get the actual error from home-assistant.log for any kind of troubleshooting.

rchorowitz commented 5 months ago

I removed Keymaster and reinstalled. I can control the lock, but the auto lock feature no longer works. It counts down but does not throw the bolt.

firstof9 commented 5 months ago

I removed Keymaster and reinstalled. I can control the lock, but the auto lock feature no longer works. It counts down but does not throw the bolt.

Unrelated to this issue, please open a new issue.

bharvey88 commented 5 months ago

confirmed log warnings gone after updating to 0.0.88