-
-
Notifications
You must be signed in to change notification settings - Fork 127
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Template not being evaluated after update to 18.1.1 #1968
Comments
Seconded. msg.payload =
"The temperature is " + "{{states.sensor.bedroom_temperature.state}}"
return msg Now only this works: var state = global.get('homeassistant').homeAssistant.states["sensor.bedroom_temperature"].state
msg.payload =
"The temperature is " + state
return msg |
It is strongly discouraged. Don't use that. |
How do you make that work? |
Um, thanks... Is this a you thing, or a node red thing. Why is this now broken? I understand you're busy, but Im sure a lot of people are using templating in Node Red. |
I have no idea what frenck was trying to say, but the render template works. And its an issue with HA core, not Node Red anyway. |
Problem/Motivation
After the update, it now just reads out the message and no longer evaluates the template
Expected behavior
It should evaluate the template and give the correct options
Actual behavior
It just reads out the entire string
Steps to reproduce
input node
Here is a screen shot of the node;
Here is the message json
Proposed changes
Bug?
The text was updated successfully, but these errors were encountered: