Adding some new sensores, removing unused scripts
This commit is contained in:
parent
9120caf8e0
commit
e62b8f3bc7
|
@ -3,6 +3,7 @@ secrets.yaml
|
|||
entity_registry.yaml
|
||||
.HA_VERSION
|
||||
zones.yaml
|
||||
sensors/location.yaml
|
||||
*ios.conf
|
||||
*.log
|
||||
*.db
|
||||
|
|
|
@ -88,22 +88,20 @@ sensor.pws_alerts:
|
|||
# Jeff #
|
||||
|
||||
device_tracker.owntracks_jeffreystonesiphone:
|
||||
#icon: mdi:human-male
|
||||
entity_picture: !secret JEFF_ICON
|
||||
friendly_name: Jeff
|
||||
sensor.jeffrey_location:
|
||||
#icon: mdi:human-male
|
||||
entity_picture: !secret JEFF_ICON
|
||||
friendly_name: Jeff
|
||||
sensor.jeff_location:
|
||||
entity_picture: !secret JEFF_ICON
|
||||
sensor.jeff_destination:
|
||||
icon: mdi:google-maps
|
||||
name: "Jeffs Destination"
|
||||
device_tracker.jeffreystonesiphone:
|
||||
#icon: mdi:human-male
|
||||
entity_picture: !secret JEFF_ICON
|
||||
friendly_name: Jeff
|
||||
device_tracker.jeffrey_377fadfe9d7e410fb71bd84c06547c00:
|
||||
#icon: mdi:human-male
|
||||
entity_picture: !secret JEFF_ICON
|
||||
friendly_name: Jeff
|
||||
sensor.jeff_iphone_batt:
|
||||
|
@ -129,11 +127,9 @@ sensor.jeff_ipad:
|
|||
|
||||
# Kat ##
|
||||
device_tracker.katherinestonesiphone:
|
||||
#icon: mdi:human-female
|
||||
entity_picture: !secret KAT_ICON
|
||||
friendly_name: Kat
|
||||
device_tracker.kat_2f1c672110dd491ea7dca9833d1c6cf5:
|
||||
#icon: mdi:human-female
|
||||
entity_picture: !secret KAT_ICON
|
||||
friendly_name: Kat
|
||||
sensor.kat_iphone_batt:
|
||||
|
|
|
@ -1,7 +0,0 @@
|
|||
jeff_is_moving:
|
||||
sequence:
|
||||
- service: mqtt.publish
|
||||
data:
|
||||
topic: "jeff/location/status"
|
||||
payload: "moving"
|
||||
retain: true
|
|
@ -1,7 +0,0 @@
|
|||
jeff_is_stationary:
|
||||
sequence:
|
||||
- service: mqtt.publish
|
||||
data:
|
||||
topic: "jeff/location/status"
|
||||
payload: "stationary"
|
||||
retain: true
|
|
@ -1,26 +1,6 @@
|
|||
- platform: mqtt
|
||||
name: "Jeff Destination"
|
||||
state_topic: "jeff/driving/destination"
|
||||
- platform: mqtt
|
||||
name: "Jeff Status"
|
||||
state_topic: "jeff/location/status"
|
||||
- platform: template
|
||||
sensors:
|
||||
jeff_lstatus:
|
||||
friendly_name: Jeff is
|
||||
unit_of_measurement: ''
|
||||
value_template: >-
|
||||
{%- if is_state("sensor.jeff_status", "moving") %}
|
||||
moving
|
||||
{% else %}
|
||||
stationary
|
||||
{%- endif %}
|
||||
icon_template: >-
|
||||
{%- if is_state("sensor.jeff_status", "moving") %}
|
||||
mdi:bike
|
||||
{% else %}
|
||||
mdi:map-marker
|
||||
{%- endif %}
|
||||
- platform: template
|
||||
sensors:
|
||||
family_presence:
|
||||
|
@ -42,4 +22,3 @@
|
|||
{% else %}
|
||||
mdi:sync-alert
|
||||
{%- endif %}
|
||||
|
||||
|
|
Loading…
Reference in New Issue