Skip to content

Commit

Permalink
State attributes
Browse files Browse the repository at this point in the history
  • Loading branch information
cyberjunky authored Dec 18, 2021
1 parent 520d926 commit e0b7f47
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions custom_components/hvcgroep/sensor.py
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,7 @@ def icon(self):
return self._icon

@property
def device_state_attributes(self):
def extra_state_attributes(self):
"""Return the state attributes of this device."""
return {
"day": self._day,
Expand Down Expand Up @@ -264,4 +264,4 @@ async def async_update(self):
self._state = None
self._day = None

_LOGGER.debug("Device: {} State: {}".format(self._name, self._state))
_LOGGER.debug("Device: {} State: {}".format(self._name, self._state))

0 comments on commit e0b7f47

Please sign in to comment.