this works in the template in dev tools but will not pass the configuration test
it seems to have issues with the straight brackets tried other brackets to no avail
- platform: template
sensors:
main_shower_temp:
unit_of_measurement: "°F"
value_template:
{{ '%.f' | format(state_attr('climate.main_shower','current_temperature') | float ) }}
friendly_name: "Main Shower Temperature"
3 posts - 3 participants