IGN Sismologia icon for geolocation entities (#26408)

* define icon

* fixed tests
This commit is contained in:
Malte Franken authored and Andrew Sayre committed 2019-09-03 20:58:40 -05:00
1 parent 4e2fcdb9a3
commit 2f9de2a5a5
2 files changed
+9

No files matched your search

@@ -201,6 +201,11 @@ class IgnSismologiaLocationEvent(GeolocationEvent):
self._publication_date = feed_entry.published
self._image_url = feed_entry.image_url
@property
def icon(self):
"""Return the icon to use in the frontend."""
return "mdi:pulse"
@property
def source(self) -> str:
"""Return source value of this external event."""