mirror of
https://github.com/thejeffreystone/home-assistant-configuration.git
synced 2025-02-09 00:55:08 +00:00
Updating devices
This commit is contained in:
parent
e4ebcdddae
commit
70a4d9b033
@ -62,7 +62,7 @@
|
||||
|
||||
jeff_ipad:
|
||||
friendly_name: "Jeff's iPad"
|
||||
value_template: "{{ 'Online' if is_state('device_tracker.jeffreysipad', 'home') else 'Offline' }}"
|
||||
value_template: "{{ 'Online' if is_state('device_tracker.jeffreystonesipad', 'home') else 'Offline' }}"
|
||||
|
||||
kat_ipad:
|
||||
friendly_name: "Kat's iPad"
|
||||
@ -71,7 +71,7 @@
|
||||
jeff_iphone_batt:
|
||||
unit_of_measurement: '%'
|
||||
value_template: >-
|
||||
{%- if states.device_tracker.jeffreystonsiphone.attributes.battery %}
|
||||
{%- if states.device_tracker.jeffreystonesiphone.attributes.battery %}
|
||||
{{ states.device_tracker.jeffreystonesiphone.attributes.battery | round(1) }}
|
||||
{% else %}
|
||||
{{ states.sensor.jeff_iphone_batt.state }}
|
||||
|
Loading…
x
Reference in New Issue
Block a user