Hello i have a template for electricity cost
and then i have a sensor for how much my house is consumes right now, and i whant to multiply “Total” with
the entity sensor.home_energy_meter
but i can nit get it to work. because i dont really understand
how to create the mathematic in the Template. i’ll be gratefull if someone could help my Many thanks
Energytaxes 42,8 cent kwh
tranportation 42 cent kwh
Tax +25%
Total: "{{ (states(‘sensor.nordpool1’) | float(0) / 1 +0.848) * 1.25 }}
entity: sensor.home_energy_meter_gen5_consumption_w_4