mirror of
https://github.com/home-assistant/core.git
synced 2025-07-09 22:37:11 +00:00
Improve type hints in rachio switch (#90050)
This commit is contained in:
parent
1895c82ffc
commit
c507ca1e66
@ -506,7 +506,7 @@ class RachioSchedule(RachioSwitch):
|
||||
return "mdi:water" if self.schedule_is_enabled else "mdi:water-off"
|
||||
|
||||
@property
|
||||
def extra_state_attributes(self) -> dict:
|
||||
def extra_state_attributes(self) -> dict[str, Any]:
|
||||
"""Return the optional state attributes."""
|
||||
return {
|
||||
ATTR_SCHEDULE_SUMMARY: self._summary,
|
||||
|
Loading…
x
Reference in New Issue
Block a user