Testing some speed sensors

This commit is contained in:
Jeffrey Stone 2022-02-24 23:12:12 -05:00
parent 52be55da1d
commit eb18452acc
1 changed files with 12 additions and 0 deletions

View File

@ -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 }}"