File tree Expand file tree Collapse file tree
custom_components/google_home Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -126,7 +126,7 @@ def state(self) -> str | None:
126126 return device .ip_address if device else None
127127
128128 @property
129- def device_state_attributes (self ) -> DeviceAttributes :
129+ def extra_state_attributes (self ) -> DeviceAttributes :
130130 """Return the state attributes."""
131131 device = self .get_device ()
132132 attributes : DeviceAttributes = {
@@ -184,7 +184,7 @@ def state(self) -> str | None:
184184 )
185185
186186 @property
187- def device_state_attributes (self ) -> AlarmsAttributes :
187+ def extra_state_attributes (self ) -> AlarmsAttributes :
188188 """Return the state attributes."""
189189 return {
190190 "next_alarm_status" : self ._get_next_alarm_status (),
@@ -264,7 +264,7 @@ def state(self) -> str | None:
264264 )
265265
266266 @property
267- def device_state_attributes (self ) -> TimersAttributes :
267+ def extra_state_attributes (self ) -> TimersAttributes :
268268 """Return the state attributes."""
269269 return {
270270 "next_timer_status" : self ._get_next_timer_status (),
You can’t perform that action at this time.
0 commit comments