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 be3f98e commit 5343be6Copy full SHA for 5343be6
custom_components/pyscript/state.py
@@ -13,7 +13,7 @@
13
14
_LOGGER = logging.getLogger(LOGGER_PATH + ".state")
15
16
-STATE_VIRTUAL_ATTRS = {"entity_id", "last_changed", "last_updated"}
+STATE_VIRTUAL_ATTRS = {"entity_id", "last_changed", "last_updated", "last_reported"}
17
18
19
class StateVal(str):
@@ -26,6 +26,7 @@ def __new__(cls, state):
26
new_var.entity_id = state.entity_id
27
new_var.last_updated = state.last_updated
28
new_var.last_changed = state.last_changed
29
+ new_var.last_reported = state.last_reported
30
return new_var
31
32
0 commit comments