Remove mutable object from hvv sensor (#95454)
This commit is contained in:
parent
b2c0ca304b
commit
e0d1d16da1
1 changed files with 1 additions and 1 deletions
|
@ -60,7 +60,6 @@ class HVVDepartureSensor(SensorEntity):
|
|||
_attr_icon = ICON
|
||||
_attr_translation_key = "departures"
|
||||
_attr_has_entity_name = True
|
||||
_attr_extra_state_attributes = {}
|
||||
_attr_available = False
|
||||
|
||||
def __init__(self, hass, config_entry, session, hub):
|
||||
|
@ -68,6 +67,7 @@ class HVVDepartureSensor(SensorEntity):
|
|||
self.config_entry = config_entry
|
||||
self.station_name = self.config_entry.data[CONF_STATION]["name"]
|
||||
self._last_error = None
|
||||
self._attr_extra_state_attributes = {}
|
||||
|
||||
self.gti = hub.gti
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue