Skip to content

Commit

Permalink
Fix display error for tides entity
Browse files Browse the repository at this point in the history
  • Loading branch information
jshufro committed Jul 4, 2020
1 parent 8eeba31 commit 7fb5372
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions noaa_tides/sensor.py
Original file line number Diff line number Diff line change
Expand Up @@ -138,10 +138,6 @@ def state(self):
last_tide_time = most_recent.strftime("%-I:%M %p")
return f"{next_tide} tide at {tide_time}"

@property
def device_class(self) -> Optional[str]:
return DEVICE_CLASS_TIMESTAMP

def update(self):
"""Get the latest data from NOAA Tides and Currents API."""

Expand Down

0 comments on commit 7fb5372

Please sign in to comment.