Fixed more MQTT stuff
This commit is contained in:
@ -90,16 +90,6 @@ sensor:
|
|||||||
{% else %}
|
{% else %}
|
||||||
Unknown
|
Unknown
|
||||||
{%- endif %}
|
{%- endif %}
|
||||||
- platform: mqtt
|
|
||||||
name: "Family Status"
|
|
||||||
state_topic: "house/family/status"
|
|
||||||
payload_available: "online"
|
|
||||||
payload_not_available: "offline"
|
|
||||||
- platform: mqtt
|
|
||||||
name: "Family Arrived"
|
|
||||||
state_topic: "house/family/arrived"
|
|
||||||
payload_available: "online"
|
|
||||||
payload_not_available: "offline"
|
|
||||||
- platform: template
|
- platform: template
|
||||||
sensors:
|
sensors:
|
||||||
tony_home:
|
tony_home:
|
||||||
@ -111,6 +101,17 @@ sensor:
|
|||||||
value_template: >-
|
value_template: >-
|
||||||
{{ is_state('device_tracker.tinas_iphone', 'home') or is_state('device_tracker.tinas_iphone_app', 'home') or is_state('device_tracker.life360_christina_stork','home') }}
|
{{ is_state('device_tracker.tinas_iphone', 'home') or is_state('device_tracker.tinas_iphone_app', 'home') or is_state('device_tracker.life360_christina_stork','home') }}
|
||||||
|
|
||||||
|
mqtt:
|
||||||
|
sensor:
|
||||||
|
- name: "Family Status"
|
||||||
|
state_topic: "house/family/status"
|
||||||
|
payload_available: "online"
|
||||||
|
payload_not_available: "offline"
|
||||||
|
- name: "Family Arrived"
|
||||||
|
state_topic: "house/family/arrived"
|
||||||
|
payload_available: "online"
|
||||||
|
payload_not_available: "offline"
|
||||||
|
|
||||||
automation:
|
automation:
|
||||||
- id: kallen_at_school
|
- id: kallen_at_school
|
||||||
alias: Kallen is at School
|
alias: Kallen is at School
|
||||||
@ -182,4 +183,4 @@ automation:
|
|||||||
data:
|
data:
|
||||||
who: parents
|
who: parents
|
||||||
message: "Kallen has been picked up from school."
|
message: "Kallen has been picked up from school."
|
||||||
initial_state: true
|
initial_state: true
|
||||||
|
Reference in New Issue
Block a user