You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Trigger-state node can't compare boolean states in output constraint
To Reproduce
Create new trigger-state with a binary_sensor entity.
Set "State type" to boolean.
Expand "Add outputs"
Instead of "send always" select "if state"
As value to compare against type "true".
Click "Add output"
Check "show debug information"
Connect third output (the added output) to a debug node.
Deploy and trigger state change.
Observe that debug node is not activated.
trigger-state node debug output is output comparator failed: property "new_state.state" with value true failed "is" check against true
Expected behavior
A. debug node is activated.
B. But perhaps more fittingly a drop down where one can select the type of the value, as one can do when adding constraints (which works as expected)
Screenshots
Example Flow
Environment (please complete the following information):
Node Red Version: 1.0.4
Node.js Version: 12.16.1
NR Home Assistant Plugin Version: 6.1.3
Is Node Red running in Docker: HA addon
Other (please complete the following information):
Have you searched previous issues for duplicates?: Yes
Additional context
The text was updated successfully, but these errors were encountered:
Describe the bug
Trigger-state node can't compare boolean states in output constraint
To Reproduce
output comparator failed: property "new_state.state" with value true failed "is" check against true
Expected behavior
A. debug node is activated.
B. But perhaps more fittingly a drop down where one can select the type of the value, as one can do when adding constraints (which works as expected)
Screenshots
Example Flow
Environment (please complete the following information):
Other (please complete the following information):
Additional context
The text was updated successfully, but these errors were encountered: