Skip to content

Commit

Permalink
no live data
Browse files Browse the repository at this point in the history
  • Loading branch information
chiabre committed Jan 29, 2025
1 parent 809fd0c commit 80c7851
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions custom_components/mbtalive/sensor.py
Original file line number Diff line number Diff line change
Expand Up @@ -373,7 +373,7 @@ def state(self):
trip: Trip = self._coordinator.data
if trip.departure_time_to:
return trip.departure_status
return "No live data"
return "NO LIVE DATA"

#ARRIVAL STOO
class MBTAArrivalNameSensor(MBTABaseJourneySensor):
Expand Down Expand Up @@ -474,7 +474,7 @@ def state(self):
trip: Trip = self._coordinator.data
if trip.arrival_status:
return trip.arrival_status
return "No live data"
return "NO LIVE DATA"

#ALERTS

Expand Down

0 comments on commit 80c7851

Please sign in to comment.