Skip to content

Commit

Permalink
more icons
Browse files Browse the repository at this point in the history
  • Loading branch information
tcarwash committed Apr 14, 2024
1 parent 0b46efe commit daf5d9b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions custom_components/noaa_space_weather/image.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,10 @@ def device_class(self):
"""Return the device class of the image."""
return f"noaa_space_weather__{self.image_data.get('device_class', 'image')}"

@property
def last_update(self):
return self.image_last_updated()

@property
def icon(self):
"""Return the icon of the image."""
Expand Down

0 comments on commit daf5d9b

Please sign in to comment.