Adjust state_attributes

This commit is contained in:
epenet
2022-06-22 09:46:34 +00:00
parent 58ee47acb3
commit 16ea3db0b9

View File

@@ -337,7 +337,7 @@ class FanEntity(ToggleEntity):
@final
@property
def state_attributes(self) -> dict[str, Any]:
def state_attributes(self) -> dict[str, float | str | None]:
"""Return optional state attributes."""
data: dict[str, float | str | None] = {}
supported_features = self.supported_features