This commit is contained in:
Jeffrey Stone
2019-02-21 12:49:55 -05:00
parent 361375cf5c
commit 46a6f6d271
97 changed files with 3443 additions and 1936 deletions

21
sensors/users.yaml Executable file → Normal file
View File

@@ -4,24 +4,3 @@
- platform: mqtt
name: "Kat Destination"
state_topic: "kat/driving/destination"
- platform: template
sensors:
family_presence:
friendly_name: Family Presence
unit_of_measurement: ''
value_template: >-
{%- if is_state("sensor.jeff_presence", "present") %}
Home
{% elif is_state("sensor.kat_presence", "present") %}
Home
{% else %}
Away
{%- endif %}
icon_template: >-
{%- if is_state("sensor.family_presence", "Home") %}
mdi:home
{%- elif is_state("sensor.family_presence", "Away") %}
mdi:home-outline
{% else %}
mdi:sync-alert
{%- endif %}