mirror of
https://github.com/home-assistant/core.git
synced 2025-08-05 21:55:10 +02:00
Adjust state_attributes
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user