mirror of
https://github.com/thejeffreystone/home-assistant-configuration.git
synced 2025-08-28 08:50:34 +00:00
Cleaning up devices
This commit is contained in:
@@ -71,8 +71,8 @@
|
||||
jeff_iphone_batt:
|
||||
unit_of_measurement: '%'
|
||||
value_template: >-
|
||||
{%- if states.device_tracker.jeffreysiphone.attributes.battery %}
|
||||
{{ states.device_tracker.jeffreysiphone.attributes.battery | round(1) }}
|
||||
{%- if states.device_tracker.jeffreystonsiphone.attributes.battery %}
|
||||
{{ states.device_tracker.jeffreystonesiphone.attributes.battery | round(1) }}
|
||||
{% else %}
|
||||
{{ states.sensor.jeff_iphone_batt.state }}
|
||||
{%- endif %}
|
||||
|
Reference in New Issue
Block a user