This question is indirectly related to this automation, but maybe it doesn’t make sense for me to start a new topic - is it possible for me to perform calculations with helpers? Helper selection does not directly indicate the possibility of calculations. if I want to add helpers later, where I only enter the pellet price, and helper calculates the kWh price for me, which can be used further for heating automation.
thanks
You can do calculations within templates, which can be the state of a template sensor or a section of an automation.
So you could set up a template sensor with a state like this:
{{ states('input_number.pellet_price')|float(0) *
states('input_number.pellets_per_kwh')|float(0) }}