Improve type hints in rachio switch (#90050)
This commit is contained in:
parent
1895c82ffc
commit
c507ca1e66
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue