home-automation-home-assistant/sensors/devices.yaml

5 lines
183 B
YAML
Raw Normal View History

2019-01-17 20:08:21 +00:00
- platform: template
sensors:
device_mobile_fb_battery:
value_template: '{{ states.device_tracker.mobile_fb.attributes.battery }}'
unit_of_measurement: '%'