-
Notifications
You must be signed in to change notification settings - Fork 35
Open
Description
Is it possible to extend the pyvlx library so that the state from the FrameNodeStatePositionChangedNotification is saved so that it can be retrieved via node.state?
Feature: Expose state from FrameNodeStatePositionChangedNotification
To store the state (e.g. RUNNING, DONE, FAILED, etc.) from FrameNodeStatePositionChangedNotification directly as a node.state attribute.
Changes
In the file node_updater.py after await node.after_update() added:
node._last_frame = frame
In the file nodes.py after def __init__ self.__nodes: List[Node] = [] added:
self._last_frame = None
Example Usage
print(node.name, node.state) # e.g., "Rollladen RUNNING"I'm not sure, that's why I'm asking this way. If this is correct, it would be great if you could implement it.
Metadata
Metadata
Assignees
Labels
No labels