We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 723902e commit 66c17e2Copy full SHA for 66c17e2
homeassistant/components/vesync/fan.py
@@ -141,7 +141,9 @@ def extra_state_attributes(self) -> dict[str, Any]:
141
attr["active_time"] = self.device.state.active_time
142
143
if hasattr(self.device.state, "display_status"):
144
- attr["display_status"] = self.device.state.display_status.value
+ attr["display_status"] = getattr(
145
+ self.device.state.display_status, "value", None
146
+ )
147
148
if hasattr(self.device.state, "child_lock"):
149
attr["child_lock"] = self.device.state.child_lock
0 commit comments