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
|
entity_registry.yaml
|
||||||
.HA_VERSION
|
.HA_VERSION
|
||||||
zones.yaml
|
zones.yaml
|
||||||
|
sensors/location.yaml
|
||||||
*ios.conf
|
*ios.conf
|
||||||
*.log
|
*.log
|
||||||
*.db
|
*.db
|
||||||
|
|
|
@ -88,22 +88,20 @@ sensor.pws_alerts:
|
||||||
# Jeff #
|
# Jeff #
|
||||||
|
|
||||||
device_tracker.owntracks_jeffreystonesiphone:
|
device_tracker.owntracks_jeffreystonesiphone:
|
||||||
#icon: mdi:human-male
|
|
||||||
entity_picture: !secret JEFF_ICON
|
entity_picture: !secret JEFF_ICON
|
||||||
friendly_name: Jeff
|
friendly_name: Jeff
|
||||||
sensor.jeffrey_location:
|
sensor.jeffrey_location:
|
||||||
#icon: mdi:human-male
|
|
||||||
entity_picture: !secret JEFF_ICON
|
entity_picture: !secret JEFF_ICON
|
||||||
friendly_name: Jeff
|
friendly_name: Jeff
|
||||||
|
sensor.jeff_location:
|
||||||
|
entity_picture: !secret JEFF_ICON
|
||||||
sensor.jeff_destination:
|
sensor.jeff_destination:
|
||||||
icon: mdi:google-maps
|
icon: mdi:google-maps
|
||||||
name: "Jeffs Destination"
|
name: "Jeffs Destination"
|
||||||
device_tracker.jeffreystonesiphone:
|
device_tracker.jeffreystonesiphone:
|
||||||
#icon: mdi:human-male
|
|
||||||
entity_picture: !secret JEFF_ICON
|
entity_picture: !secret JEFF_ICON
|
||||||
friendly_name: Jeff
|
friendly_name: Jeff
|
||||||
device_tracker.jeffrey_377fadfe9d7e410fb71bd84c06547c00:
|
device_tracker.jeffrey_377fadfe9d7e410fb71bd84c06547c00:
|
||||||
#icon: mdi:human-male
|
|
||||||
entity_picture: !secret JEFF_ICON
|
entity_picture: !secret JEFF_ICON
|
||||||
friendly_name: Jeff
|
friendly_name: Jeff
|
||||||
sensor.jeff_iphone_batt:
|
sensor.jeff_iphone_batt:
|
||||||
|
@ -129,11 +127,9 @@ sensor.jeff_ipad:
|
||||||
|
|
||||||
# Kat ##
|
# Kat ##
|
||||||
device_tracker.katherinestonesiphone:
|
device_tracker.katherinestonesiphone:
|
||||||
#icon: mdi:human-female
|
|
||||||
entity_picture: !secret KAT_ICON
|
entity_picture: !secret KAT_ICON
|
||||||
friendly_name: Kat
|
friendly_name: Kat
|
||||||
device_tracker.kat_2f1c672110dd491ea7dca9833d1c6cf5:
|
device_tracker.kat_2f1c672110dd491ea7dca9833d1c6cf5:
|
||||||
#icon: mdi:human-female
|
|
||||||
entity_picture: !secret KAT_ICON
|
entity_picture: !secret KAT_ICON
|
||||||
friendly_name: Kat
|
friendly_name: Kat
|
||||||
sensor.kat_iphone_batt:
|
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
|
- platform: mqtt
|
||||||
name: "Jeff Destination"
|
name: "Jeff Destination"
|
||||||
state_topic: "jeff/driving/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
|
- platform: template
|
||||||
sensors:
|
sensors:
|
||||||
family_presence:
|
family_presence:
|
||||||
|
@ -42,4 +22,3 @@
|
||||||
{% else %}
|
{% else %}
|
||||||
mdi:sync-alert
|
mdi:sync-alert
|
||||||
{%- endif %}
|
{%- endif %}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue