Add docstring (#13232)
This commit is contained in:
1 parent
223bc187dc
commit
6909be1cc7
1 file changed
+1
@@ -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