Add docstring (#13232)
This commit is contained in:
parent
223bc187dc
commit
6909be1cc7
1 changed files with 1 additions and 0 deletions
|
@ -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'),
|
||||
|
|
Loading…
Add table
Reference in a new issue