mirror of
https://github.com/home-assistant/core.git
synced 2026-09-03 18:24:49 -05:00
Add docstring (#13232)
This commit is contained in:
@@ -89,6 +89,7 @@ class CrimeReportsSensor(Entity):
|
||||
return self._attributes
|
||||
|
||||
def _incident_event(self, incident):
|
||||
"""Fire if an event occurs."""
|
||||
data = {
|
||||
'type': incident.get('type'),
|
||||
'description': incident.get('friendly_description'),
|
||||
|
||||
Reference in New Issue
Block a user