FutureTense / keymaster

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

ISSUE: [custom_components.keymaster.binary_sensor] Can't access Z-Wave JS client. #379

Closed vavallee closed 1 month ago

vavallee commented 1 month ago

Describe the bug

I just setup keymaster for the first time with my ZWAVE Yale Assure Lock 2 SL. When I try to change or add a pin, the status is stuck at adding or deleting. In the logs I see. [custom_components.keymaster.binary_sensor] Can't access Z-Wave JS client.

Environment (please complete the following information):

Logs 2024-07-11 22:46:39.762 ERROR (MainThread) [custom_components.keymaster.binary_sensor] Can't access Z-Wave JS client. │ │ Traceback (most recent call last): │ │ File "/config/custom_components/keymaster/binary_sensor.py", line 130, in async_update │ │ client = zwave_entry.runtime_data[ZWAVE_JS_DATA_CLIENT] │ │ ^^^^^^^^^^^^^^^^^^^^^^^^ │ │ AttributeError: 'ConfigEntry' object has no attribute 'runtime_data'

Screenshots

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

firstof9 commented 1 month ago

Try updating your home assistant.

vavallee commented 1 month ago

That worked, all good now thanks!