Improve type hints in rachio switch (#90050)

This commit is contained in:
epenet 2023-03-21 15:53:51 +01:00 committed by GitHub
parent 1895c82ffc
commit c507ca1e66
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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,