tung256
(tung)
1
in config file, i have:
sensor 2:
- platform: template
sensors:
batt_fibaro:
friendly_name: ‘fibaro 3fl Battery’
value_template: ‘{{ states.sensor.zwave.fibaro_3flr_2.attributes.battery_level }}’
unit_of_measurement: ‘%’
but in States tab, i see a blank.
http://i.imgur.com/LJdWwrb.jpg
any ideas because it should be 90% according to the dev states page
tung256
(tung)
2
nevermind.
looks like syntax is wrong after i looked around other posts. the correct code in config should be. and it is working great!
sensor 2:
- platform: template
sensors:
bat_fibaro:
friendly_name: ‘fibaro 3fl Battery’
value_template: ‘{{ states.zwave.fibaro_3flr_2.attributes.battery_level }}’
unit_of_measurement: ‘%’
entity_id: zwave.fibaro_3flr_2