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

5 regels
183 B
YAML

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: '%'