Commit Graph

6 Commits (c134bcc536a7f5e75a4d5ddca8297d8774fa3cd4)

Author SHA1 Message Date
J. Nick Koston ff877b8144
Fix exception in doorbird logbook during startup (#74649)
* Fix exception in doorbird logbook during startup

Fixes

```
2022-07-07 16:50:33.203 ERROR (MainThread) [homeassistant.helpers.integration_platform] Error processing platform doorbird.logbook
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/integration_platform.py", line 51, in _async_process_single_integration_platform_component
    await integration_platform.process_platform(hass, component_name, platform)
  File "/usr/src/homeassistant/homeassistant/components/logbook/__init__.py", line 159, in _process_logbook_platform
    platform.async_describe_events(hass, _async_describe_event)
  File "/usr/src/homeassistant/homeassistant/components/doorbird/logbook.py", line 43, in async_describe_events
    door_station = data[DOOR_STATION]
KeyError: door_station
```

* py39
2022-07-07 20:46:19 +03:00
J. Nick Koston 0248a8710f
Always pass the source of the trigger for logbook context messages (#72333) 2022-05-23 13:35:45 -05:00
J. Nick Koston 24a0007785
Add additional context data to logbook events (#71721) 2022-05-12 17:21:14 -07:00
springstan d5efb3e3de
Remove temporary variable by only retrieving needed value (#42522) 2020-11-29 00:44:25 +01:00
J. Nick Koston 0eaa6045c1
Ensure doorbird events can be filtered by entity_id (#37116) 2020-06-25 23:29:22 -07:00
J. Nick Koston 6d9fa34f65
Migrate doorbird to use new logbook platform (#37097) 2020-06-25 15:17:05 -05:00