Output On Connect or Get current value option for Helper Nodes #1226
legomind
started this conversation in
Feature Request
Replies: 2 comments 5 replies
-
You can use the current state node to get the current state of any entity. The text node has an option to output the current value. |
Beta Was this translation helpful? Give feedback.
3 replies
-
+1 Have same construct like @legomind if you need a further example i can post it |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have several text and switch nodes working to output their states upon changing in ha, but there seems to be no way to get their value on demand or upon connect. Am I missing something?
My use case is an automation to sync the user codes to all of my zwave deadbolts. I have a text node and a switch node for each slot. My automation sets or clears codes to all of the locks accordingly. The problem is that if I restart node red and turn the enable switch on, since the code has not changed, my flow has no way to acquire the value of the text sensor.
This would be solved if the nodes were to output their current state upon connection to home assistant, or provide a way to fetch the current value on demand.
Beta Was this translation helpful? Give feedback.
All reactions