FutureTense / lock-manager

Home Assistant Lock Manager
55 stars 19 forks source link

ISSUE: #88

Closed forensium closed 3 months ago

forensium commented 3 months ago

Describe the bug

No errors impacting operations identified.

Environment (please complete the following information):

Logs

   Logger: homeassistant.helpers.event
Source: helpers/event.py:327
First occurred: May 15, 2024 at 13:45:25 (8 occurrences)
Last logged: 08:27:48
Error while dispatching event for lock.mdfrontdoorlock to <Job track state_changed event ['lock.mdfrontdoorlock'] HassJobType.Callback functools.partial(<function handle_state_change at 0x7f7e5f764e00>, <HomeAssistant RUNNING>, <ConfigEntry entry_id=66eb541c91b4cccce3b7948537f276fa version=2 domain=keymaster title=MDFrontDoor state=ConfigEntryState.LOADED unique_id=mdfrontdoor>)>

Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/event.py", line 327, in _async_dispatch_entity_id_event
    hass.async_run_hass_job(job, event)
  File "/usr/src/homeassistant/homeassistant/core.py", line 947, in async_run_hass_job
    hassjob.target(*args)
  File "/config/custom_components/keymaster/helpers.py", line 272, in handle_state_change
    new_state = event.data["new_state"]
                ^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'data'

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.

firstof9 commented 3 months ago

This isn't the correct repo for Keymaster.