This is the current config. Moved old to the v1-config branch
This commit is contained in:
parent
67ecd08d7a
commit
5d3079379d
|
@ -1,18 +0,0 @@
|
|||
>
|
||||
{{ [
|
||||
"OK",
|
||||
"Sure",
|
||||
"If you insist",
|
||||
"Done",
|
||||
"No worries",
|
||||
"I can do that",
|
||||
"Leave it to me",
|
||||
"Consider it done",
|
||||
"As you wish",
|
||||
"By your command",
|
||||
"Affirmative",
|
||||
"Yes oh revered one",
|
||||
"I will",
|
||||
"As you decree, so shall it be",
|
||||
"No Problem"
|
||||
] | random }}
|
|
@ -1,40 +0,0 @@
|
|||
intents:
|
||||
WhereAreWeIntent:
|
||||
speech:
|
||||
type: plaintext
|
||||
text: >
|
||||
{%- if is_state('device_tracker.owntracks_jeffreysphone', 'home') and
|
||||
is_state('device_tracker.katherinestonesiphone', 'home') -%}
|
||||
You are both home
|
||||
{%- else -%}
|
||||
Jeff is at {{ states("device_tracker.owntracks_jeffreysphone") }}
|
||||
and Kat is at {{ states("device_tracker.katherinestonesiphone") }}
|
||||
{% endif %}
|
||||
|
||||
WhereIsJeffIntent:
|
||||
speech:
|
||||
type: plaintext
|
||||
text: >
|
||||
{%- if is_state('device_tracker.owntracks_jeffreysphone', 'home') -%}
|
||||
It appears Jeff is here somewhere
|
||||
{%- else -%}
|
||||
{%- if is_state('device_tracker.owntracks_jeffreysphone', 'not_home') -%}
|
||||
Jeff is not here
|
||||
{%- else -%}
|
||||
Jeff is at {{ states("device_tracker.owntracks_jeffreysphone") }}
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
|
||||
WhereIsCatherineIntent:
|
||||
speech:
|
||||
type: plaintext
|
||||
text: >
|
||||
{%- if is_state('device_tracker.katherinestonesiphone', 'home') -%}
|
||||
Kat is at home
|
||||
{%- else -%}
|
||||
{%- if is_state('device_tracker.katherinestonesiphone', 'not_home') -%}
|
||||
Kat is not here
|
||||
{%- else -%}
|
||||
Kat is at {{ states("device_tracker.katherinestonesiphone") }}
|
||||
{% endif %}
|
||||
{% endif %}
|
|
@ -1,22 +0,0 @@
|
|||
# General
|
||||
- !include automations/good_morning.yaml
|
||||
- !include automations/good_night.yaml
|
||||
# Sun Based
|
||||
- !include automations/sunset_outside_on.yaml
|
||||
- !include automations/sunset_inside_on.yaml
|
||||
- !include automations/sunrise_outside_off.yaml
|
||||
- !include automations/sunrise_inside_off.yaml
|
||||
# Weather Based
|
||||
- !include automations/cloudy_inside_on_home.yaml
|
||||
# Jeff
|
||||
- !include automations/jeff_home_enter.yaml
|
||||
- !include automations/jeff_home_leave.yaml
|
||||
- !include automations/jeff_status_moving.yaml
|
||||
- !include automations/jeff_status_stationary.yaml
|
||||
- !include automations/jeff_status_lost.yaml
|
||||
# Kat
|
||||
- !include automations/kat_home_enter.yaml
|
||||
- !include automations/kat_home_leave.yaml
|
||||
# Garage
|
||||
- !include automations/close_garage_at_nine.yaml
|
||||
- !include automations/close_garage_on_away.yaml
|
|
@ -1,16 +0,0 @@
|
|||
alias: "Close Garage at Nine"
|
||||
trigger:
|
||||
platform: time
|
||||
hours: 21
|
||||
minutes: 00
|
||||
seconds: 00
|
||||
condition:
|
||||
condition: state
|
||||
entity_id: cover.garage_door
|
||||
state: "open"
|
||||
action:
|
||||
- service: cover.close_cover
|
||||
entity_id: cover.garage_door
|
||||
- service: notify.ios_jeffreystonesiphone
|
||||
data:
|
||||
message: "9pm, Closing Garage Door"
|
|
@ -1,14 +0,0 @@
|
|||
alias: "Close Garage if we leave"
|
||||
trigger:
|
||||
- platform: state
|
||||
entity_id: group.family
|
||||
state: "not home"
|
||||
condition:
|
||||
- condition: state
|
||||
entity_id: cover.garage_door
|
||||
state: "open"
|
||||
action:
|
||||
- service: notify.ios_jeffreystonesiphone
|
||||
data:
|
||||
message: "No one home, Closing Garage"
|
||||
- service: cover.close_cover
|
|
@ -1,15 +0,0 @@
|
|||
alias: "Cloudy, inside on if home"
|
||||
trigger:
|
||||
platform: time
|
||||
after: '14:00:00'
|
||||
condition:
|
||||
- condition: numeric_state
|
||||
entity_id: sensor.dark_sky_cloud_coverage
|
||||
above: 90
|
||||
- condition: state
|
||||
entity_id: group.family
|
||||
state: "home"
|
||||
action:
|
||||
- service: notify.ios_jeffreystonesiphone
|
||||
data:
|
||||
message: "Cloudy, turning on LR Lamp"
|
|
@ -1,12 +0,0 @@
|
|||
alias: "Good Morning"
|
||||
trigger:
|
||||
platform: time
|
||||
hours: 05
|
||||
minutes: 15
|
||||
seconds: 00
|
||||
action:
|
||||
- service: scene.turn_on
|
||||
entity_id: scene.livingroom_normal
|
||||
- service: notify.ios_jeffreystonesiphone
|
||||
data:
|
||||
message: "Good Morning, Anchorage House is up and online."
|
|
@ -1,12 +0,0 @@
|
|||
alias: "Good Night"
|
||||
trigger:
|
||||
platform: time
|
||||
hours: 22
|
||||
minutes: 00
|
||||
seconds: 00
|
||||
action:
|
||||
- service: scene.turn_on
|
||||
entity_id: scene.livingroom_night
|
||||
- service: notify.ios_jeffreystonesiphone
|
||||
data:
|
||||
message: "House shutting down for the night, Good Night"
|
|
@ -1,10 +0,0 @@
|
|||
alias: "Jeff Arrives Home"
|
||||
trigger:
|
||||
platform: zone
|
||||
event: enter
|
||||
zone: zone.home
|
||||
entity_id: device_tracker.jeffreystonesiphone
|
||||
action:
|
||||
- service: notify.ios_katherinestonesiphone
|
||||
data:
|
||||
message: "Jeff is home"
|
|
@ -1,10 +0,0 @@
|
|||
alias: "Jeff Leaves Home"
|
||||
trigger:
|
||||
platform: zone
|
||||
event: leave
|
||||
zone: zone.home
|
||||
entity_id: device_tracker.jeffreystonesiphone
|
||||
action:
|
||||
- service: notify.ios_katherinestonesiphone
|
||||
data:
|
||||
message: "Jeff left home"
|
|
@ -1,7 +0,0 @@
|
|||
alias: "Jeff Status Lost"
|
||||
trigger:
|
||||
platform: mqtt
|
||||
topic: anchoragehouse/jeffrey/status
|
||||
payload: 'unknown'
|
||||
action:
|
||||
service: script.jeff_unknown
|
|
@ -1,7 +0,0 @@
|
|||
alias: "Jeff Status Moving"
|
||||
trigger:
|
||||
platform: mqtt
|
||||
topic: anchoragehouse/jeffrey/status
|
||||
payload: 'moving'
|
||||
action:
|
||||
service: script.jeff_is_moving
|
|
@ -1,7 +0,0 @@
|
|||
alias: "Jeff Status Stationary"
|
||||
trigger:
|
||||
platform: mqtt
|
||||
topic: anchoragehouse/jeffrey/status
|
||||
payload: 'stationary'
|
||||
action:
|
||||
service: script.jeff_is_stationary
|
|
@ -1,10 +0,0 @@
|
|||
alias: "Jeff Arrives At Summit"
|
||||
trigger:
|
||||
platform: zone
|
||||
event: enter
|
||||
zone: zone.summit
|
||||
entity_id: device_tracker.jeffreystonesiphone
|
||||
action:
|
||||
- service: notify.ios_katherinestonesiphone
|
||||
data:
|
||||
message: "Jeff arrived at Summit"
|
|
@ -1,10 +0,0 @@
|
|||
alias: "Jeff Leaves Summit"
|
||||
trigger:
|
||||
platform: zone
|
||||
event: leave
|
||||
zone: zone.summit
|
||||
entity_id: device_tracker.jeffreystonesiphone
|
||||
action:
|
||||
- service: notify.ios_katherinestonesiphone
|
||||
data:
|
||||
message: "Jeff left summit"
|
|
@ -1,10 +0,0 @@
|
|||
alias: "Kat Arrives Home"
|
||||
trigger:
|
||||
platform: zone
|
||||
event: enter
|
||||
zone: zone.home
|
||||
entity_id: device_tracker.katherinestonesiphone
|
||||
action:
|
||||
- service: notify.ios_jeffreystonesiphone
|
||||
data:
|
||||
message: "Kat is home"
|
|
@ -1,10 +0,0 @@
|
|||
alias: "Kat Leaves Home"
|
||||
trigger:
|
||||
platform: zone
|
||||
event: leave
|
||||
zone: zone.home
|
||||
entity_id: device_tracker.katherinestonesiphone
|
||||
action:
|
||||
- service: notify.ios_jeffreystonesiphone
|
||||
data:
|
||||
message: "Kat left home"
|
|
@ -1,8 +0,0 @@
|
|||
alias: "Sunrise Inside off"
|
||||
trigger:
|
||||
platform: time
|
||||
hours: 07
|
||||
minutes: 00
|
||||
seconds: 00
|
||||
action:
|
||||
service: script.inside_all_off
|
|
@ -1,6 +0,0 @@
|
|||
alias: "Sunrise Outside off"
|
||||
trigger:
|
||||
platform: sun
|
||||
event: sunrise
|
||||
action:
|
||||
- service: script.outside_all_off
|
|
@ -1,7 +0,0 @@
|
|||
alias: "Sunset Inside on"
|
||||
trigger:
|
||||
platform: sun
|
||||
event: sunset
|
||||
offset: "-01:00:00"
|
||||
action:
|
||||
service: script.inside_all_on
|
|
@ -1,7 +0,0 @@
|
|||
alias: "Sunset Outside on"
|
||||
trigger:
|
||||
platform: sun
|
||||
event: sunset
|
||||
offset: "-00:30:00"
|
||||
action:
|
||||
service: script.outside_all_on
|
|
@ -1,12 +0,0 @@
|
|||
alias: test
|
||||
trigger:
|
||||
platform: time
|
||||
minutes: 10
|
||||
seconds: 00
|
||||
action:
|
||||
service: notify.ios_jeffreystonesiphone
|
||||
data:
|
||||
message: "Test Alert"
|
||||
data:
|
||||
message: "Test Alert"
|
||||
subtitle: "Just a test"
|
|
@ -1,8 +0,0 @@
|
|||
refresh_devices: !include scripts/refresh_devices.yaml
|
||||
inside_all_on: !include scripts/inside_all_on.yaml
|
||||
outside_all_on: !include scripts/outside_all_on.yaml
|
||||
inside_all_off: !include scripts/inside_all_off.yaml
|
||||
outside_all_off: !include scripts/outside_all_off.yaml
|
||||
jeff_is_moving: !include scripts/jeff_is_moving.yaml
|
||||
jeff_is_stationary: !include scripts/jeff_is_stationary.yaml
|
||||
jeff_unknown: !include scripts/jeff_unknown.yaml
|
|
@ -1,9 +0,0 @@
|
|||
sequence:
|
||||
- event: LOGBOOK_ENTRY
|
||||
event_data:
|
||||
name: EVENT
|
||||
message: "Jeff Status Unknown"
|
||||
- service: input_select.select_option
|
||||
data:
|
||||
entity_id: input_select.jeff_status
|
||||
option: unknown
|
|
@ -1,5 +0,0 @@
|
|||
sequence:
|
||||
- service: mqtt.publish
|
||||
data:
|
||||
topic: "owntracks/owntracks/jeffreysphone/cmd"
|
||||
payload_template: '{"_type":"cmd","action":"reportLocation"}'
|
|
@ -1,24 +0,0 @@
|
|||
- platform: template
|
||||
sensors:
|
||||
garage_door:
|
||||
unit_of_measurement: ''
|
||||
value_template: >-
|
||||
{%- if is_state("cover.garage_door", "open") %}
|
||||
Open
|
||||
{% elif is_state("cover.garage_door", "opening") %}
|
||||
Opening
|
||||
{% elif is_state("cover.garage_door", "closed") %}
|
||||
Closed
|
||||
{% elif is_state("cover.garage_door", "closing") %}
|
||||
Closing
|
||||
{% else %}
|
||||
Unknown
|
||||
{%- endif %}
|
||||
icon_template: >-
|
||||
{%- if is_state("cover.garage_door", "closed") %}
|
||||
mdi:garage
|
||||
{%- elif is_state("cover.garage_door", "open") %}
|
||||
mdi:garage-open
|
||||
{% else %}
|
||||
mdi:sync-alert
|
||||
{%- endif %}
|
|
@ -1 +0,0 @@
|
|||
|
Loading…
Reference in New Issue