Unfortunately, I’m still having some problems with YAML, and I’m also having some problems with English. I found something interesting in a YouTube video, but the implementation isn’t working as hoped.
Here’s what I’m planning:
I want to calculate something from the values of a
sensor: (sensor.washing_machine_power_consumption_since_last_reset)
and an input_number: (input_number.electricity_price),
and then store the result in another
input_number: (input_number.washing_machine_mains_power_costs).
The calculation itself works, but the result isn’t stored in the input_number.
Hi. Next time, please paste the yaml (properly formatted) itself instead of a screenshot, so we can copy and modify the code.
You use action number.set_value on an input_number. You should use the right action: input_number.set_value. It is confusing, but number and input_number are different things.