USGS Earthquakes icon for geolocation entities (#26353)

* define icon

* updated tests

* added codeowner

* updated codeowners
This commit is contained in:
Malte Franken authored and Martin Hjelmare committed 2019-09-02 13:37:11 +02:00
1 parent 7a171dae33
commit ecaadfed3a
4 files changed
+13 -1

No files matched your search

@@ -243,6 +243,11 @@ class UsgsEarthquakesEvent(GeolocationEvent):
self._type = feed_entry.type
self._alert = feed_entry.alert
@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."""
@@ -6,5 +6,7 @@
"geojson_client==0.4"
],
"dependencies": [],
"codeowners": []
"codeowners": [
"@exxamalte"
]
}