Quantcast
Channel: Configuration - Home Assistant Community
Viewing all articles
Browse latest Browse all 106299

Works in the template but does not pass for the sensor yaml

$
0
0

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

Read full topic


Viewing all articles
Browse latest Browse all 106299

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>