Copy and paste your template {{ states.input_slider.temp_regel }} in Developer Tools/templates for testing it.
There you will see that it not returns the value of the slider.
You need {{ states.input_slider.temp_regel.state }} to get the value and maybe | int if it returns a string.
Btw, why do you want to set the input slider with the value of the input slider?
Thank you for the tip of “Developer Tools / templates”. Did not I know the existence ;-). If I paste your code there, {{states.input_slider.temp_regel.state}} he returns the value neatly. (20)
But I just tried it in home assistant but unfortunately it does not work either.
Good question
I do not want the default value of my thermostat to be hardcoded in the config. That makes changing this awkward. That’s why I have two app slides with “default off” and the “default on” temp rate
Does anyone else have an idea why the Developer tool does it but home assistant does not?
I am an idiot!
I used as input_slider the same input_slider as the one I wanted to put.
I should have used {{ states.input_slider.on.state }} instead of {{ states.input_slider.temp_regel.state }}
SORRY!!!
I’m now in a corner deep, deeply ashamed!
Super thanks for the help.
I found out when I was testing the developers tool. Thanks again VDRainer
Hello. I’m a beginner. I can not get the temperature of a temparature senzor. If I do a test here
, it reads my test completely. The name of the sensor I got from here
. What do I have to do, do I have to activate other functions? I do not understand where “date_template:” should appear.
I’m not sure I follow you… what else do you want me to tell you? Did you follow what I said? You cannot use data_templates in the service call area. So your service data is wrong. for it to work you need to use numbers… like so:
{"cache": False, "entity_id":"media_player.dormitor","message":"Temperature is 23.62."}
data_templates are only allowed in the template editor or your inside your configuration.
I apologize for not knowing. I just want to hear the temperature of a sensor. What settings should I do and where? Looking at the forum … too much information for a beginner. I do not even know where to start.