mirror of
https://github.com/home-assistant/core.git
synced 2025-08-06 14:15:12 +02:00
Adjust state_attributes
This commit is contained in:
@@ -337,7 +337,7 @@ class FanEntity(ToggleEntity):
|
|||||||
|
|
||||||
@final
|
@final
|
||||||
@property
|
@property
|
||||||
def state_attributes(self) -> dict[str, Any]:
|
def state_attributes(self) -> dict[str, float | str | None]:
|
||||||
"""Return optional state attributes."""
|
"""Return optional state attributes."""
|
||||||
data: dict[str, float | str | None] = {}
|
data: dict[str, float | str | None] = {}
|
||||||
supported_features = self.supported_features
|
supported_features = self.supported_features
|
||||||
|
Reference in New Issue
Block a user