mirror of
https://github.com/thejeffreystone/home-assistant-configuration.git
synced 2025-09-13 23:35:40 +00:00
Prep for clean v3
This commit is contained in:
@@ -1,27 +0,0 @@
|
||||
- platform: mqtt
|
||||
name: "Jeff Destination"
|
||||
state_topic: "jeff/driving/destination"
|
||||
- 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 %}
|
Reference in New Issue
Block a user