Thanks. But that doesn’t make a difference. I more assume that the sensors I try to multiply are not zet available at the point in time I multiply them ( timing issue ). Could this be the case?
If it doesn’t produce the errors you previously had then it did make a difference.
If it still produces the same error messages then you did something wrong while implementing the suggested template.
Your original template is invalid because it incorrectly references the each entity’s value. The correct way to reference them is explained here (and the suggested template employs the states() function).
If that’s happening then the result of the suggested template will be zero.
The example I posted above continues to work properly in version 2022.2 without requiring any changes.
The difference in your example is due to the inclusion of the float filter. There’s a need to wrap the summation in parentheses prior to using the round filter. That has always been necessary (not just in 2022.2). However, why you chose to use two pairs of parentheses is unclear because one pair is sufficient.
Pls help to multiply by 5 to this sensor value:
value_template: “{{ (state_attr(‘climate.rozi_thermostat’,‘current_temperature’)) }}”
pls write the correct syntax!
Thx