Would it be possible to update these ideas for 2023 as from what I understand it has changed, I have tried to reading Updating Templates with the new default values in 2021.10.x) but have absolutely no idea how to apply anything it says. I have been trying in reference to this (I have copied it exactly as I typed it in so it could even be missing stuff anyway)
energy_cost_today:
friendly_name: Energy Cost Today
unit_of_measurement: £
value_template: “{{ (states(‘sensor.energy_usage_day_std’) | float * states(‘input_number.std_tariff’) | float / 100.0) | float + ((states(‘input_number.standing_charge’) | float / 30.0) | float ) | round(2) }}”
which always gives
“ValueError: Template error: float got invalid input ‘unknown’ when rendering template 'energy_cost_today:”
Maybe this should not of been my first attempt at creating templates lol
Cheers