mirror of
https://github.com/thejeffreystone/home-assistant-configuration.git
synced 2025-06-14 11:05:32 +00:00
Testing some speed sensors
This commit is contained in:
parent
52be55da1d
commit
eb18452acc
@ -4,3 +4,15 @@
|
||||
- platform: mqtt
|
||||
name: "Kat Destination"
|
||||
state_topic: "kat/driving/destination"
|
||||
- platform: template
|
||||
sensors:
|
||||
jeff_speed:
|
||||
friendly_name: "Jeff Speed"
|
||||
unit_of_measurement: 'mph'
|
||||
value_template: "{{ state_attr('device_tracker.jeffrey_s_iphone_11_app', 'speed') | float / 1.609 | round(0) }}"
|
||||
kat_speed:
|
||||
friendly_name: "Kat Speed"
|
||||
unit_of_measurement: 'mph'
|
||||
value_template: "{{ state_attr('device_tracker.life360_kat_stone', 'raw_speed') | int }}"
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user