Compare commits
3 Commits
bfc7ece391
...
582765f82b
Author | SHA1 | Date |
---|---|---|
ccostan | 582765f82b | |
ccostan | 148da39636 | |
ccostan | 5c020091a8 |
|
@ -1 +1 @@
|
||||||
2023.6.2
|
2023.7.2
|
|
@ -11,6 +11,7 @@
|
||||||
- binary_sensor.MCU2_GPIO12 # Main Slider
|
- binary_sensor.MCU2_GPIO12 # Main Slider
|
||||||
- binary_sensor.MCU1_GPIO12 # Interior Garage Door #
|
- binary_sensor.MCU1_GPIO12 # Interior Garage Door #
|
||||||
from: 'off'
|
from: 'off'
|
||||||
|
to: 'on'
|
||||||
|
|
||||||
condition:
|
condition:
|
||||||
- condition: state
|
- condition: state
|
||||||
|
|
|
@ -30,7 +30,7 @@
|
||||||
- service: script.notify_engine
|
- service: script.notify_engine
|
||||||
data:
|
data:
|
||||||
title: 'Medicine Reminder Completed'
|
title: 'Medicine Reminder Completed'
|
||||||
value1: 'Carlo Took Medicine today.'
|
value1: 'Carlo Took his Medicine today.'
|
||||||
who: 'parents'
|
who: 'parents'
|
||||||
apns_id: 'Medicine'
|
apns_id: 'Medicine'
|
||||||
- delay:
|
- delay:
|
||||||
|
|
|
@ -8,9 +8,10 @@ media_players:
|
||||||
- media_player.living_room
|
- media_player.living_room
|
||||||
- media_player.front_room_flex
|
- media_player.front_room_flex
|
||||||
- media_player.office
|
- media_player.office
|
||||||
- media_player.kitchen_show
|
- media_player.kitchen
|
||||||
- media_player.justin_room
|
- media_player.justin_room
|
||||||
- media_player.tap
|
- media_player.tap
|
||||||
- media_player.upstairs
|
- media_player.upstairs
|
||||||
- media_player.stacey_bedroom
|
- media_player.stacey_bedroom
|
||||||
- media_player.carlo_bedroom
|
- media_player.carlo_bedroom
|
||||||
|
- media_player.master_bathroom
|
||||||
|
|
|
@ -37,6 +37,13 @@ automation:
|
||||||
from: 'not_home'
|
from: 'not_home'
|
||||||
to: 'home'
|
to: 'home'
|
||||||
|
|
||||||
|
- platform: state
|
||||||
|
entity_id:
|
||||||
|
- person.carlo
|
||||||
|
- person.stacey
|
||||||
|
to: 'not_home'
|
||||||
|
from: 'home'
|
||||||
|
|
||||||
action:
|
action:
|
||||||
- choose:
|
- choose:
|
||||||
- conditions: "{{ is_state('binary_sensor.sleepnumber_carlo_stacey_is_in_bed','on') }}"
|
- conditions: "{{ is_state('binary_sensor.sleepnumber_carlo_stacey_is_in_bed','on') }}"
|
||||||
|
@ -53,24 +60,26 @@ automation:
|
||||||
media_content_id: 'hide garage camera'
|
media_content_id: 'hide garage camera'
|
||||||
media_content_type: custom
|
media_content_type: custom
|
||||||
|
|
||||||
- conditions: "{{ is_state('switch.kitchen_accent_1','on') }}"
|
# - conditions: "{{ is_state('switch.kitchen_accent_1','on') }}"
|
||||||
sequence:
|
# sequence:
|
||||||
- service: media_player.play_media
|
# - service: media_player.play_media
|
||||||
data:
|
# data:
|
||||||
entity_id: media_player.alarm_panel_1
|
# entity_id: media_player.alarm_panel_1
|
||||||
media_content_id: 'show garage camera'
|
# media_content_id: 'show garage camera'
|
||||||
media_content_type: custom
|
# media_content_type: custom
|
||||||
|
|
||||||
default:
|
default:
|
||||||
- service: media_player.play_media
|
- service: media_player.play_media
|
||||||
|
target:
|
||||||
|
entity_id: media_player.kitchen
|
||||||
data:
|
data:
|
||||||
entity_id: media_player.kitchen_show
|
|
||||||
media_content_id: 'show garage camera'
|
media_content_id: 'show garage camera'
|
||||||
media_content_type: custom
|
media_content_type: custom
|
||||||
- delay: '00:20:00'
|
- delay: '00:20:00'
|
||||||
- service: media_player.play_media
|
- service: media_player.play_media
|
||||||
|
target:
|
||||||
|
entity_id: media_player.kitchen
|
||||||
data:
|
data:
|
||||||
entity_id: media_player.kitchen_show
|
|
||||||
media_content_id: 'hide garage camera'
|
media_content_id: 'hide garage camera'
|
||||||
media_content_type: custom
|
media_content_type: custom
|
||||||
|
|
||||||
|
|
|
@ -54,6 +54,7 @@ automation:
|
||||||
trigger:
|
trigger:
|
||||||
platform: webhook
|
platform: webhook
|
||||||
webhook_id: !secret github_webhook
|
webhook_id: !secret github_webhook
|
||||||
|
local_only: false
|
||||||
|
|
||||||
condition:
|
condition:
|
||||||
|
|
||||||
|
|
|
@ -12,13 +12,12 @@ notify:
|
||||||
- name: ios_family
|
- name: ios_family
|
||||||
platform: group
|
platform: group
|
||||||
services:
|
services:
|
||||||
- service: mobile_app_stacey_6s
|
- service: mobile_app_stacey_iphone11
|
||||||
- service: mobile_app_carlo_xsmax
|
- service: mobile_app_carlo_xsmax
|
||||||
- service: mobile_app_paige_6s
|
|
||||||
- name: ios_parents
|
- name: ios_parents
|
||||||
platform: group
|
platform: group
|
||||||
services:
|
services:
|
||||||
- service: mobile_app_stacey_6s
|
- service: mobile_app_stacey_iphone11
|
||||||
- service: mobile_app_carlo_xsmax
|
- service: mobile_app_carlo_xsmax
|
||||||
|
|
||||||
mobile_app:
|
mobile_app:
|
||||||
|
|
|
@ -3,6 +3,7 @@
|
||||||
# Original Repo : https://github.com/CCOSTAN/Home-AssistantConfig
|
# Original Repo : https://github.com/CCOSTAN/Home-AssistantConfig
|
||||||
# Phyn Smart Water ShutOff Support
|
# Phyn Smart Water ShutOff Support
|
||||||
# https://www.vcloudinfo.com/2020/05/phyn-plus-smart-water-shutoff-device.html
|
# https://www.vcloudinfo.com/2020/05/phyn-plus-smart-water-shutoff-device.html
|
||||||
|
# Added in Custom HACK integration via https://github.com/MizterB/homeassistant-phyn
|
||||||
#-------------------------------------------
|
#-------------------------------------------
|
||||||
######################################################################
|
######################################################################
|
||||||
## Phyn Plus Water ShutOff - https://amzn.to/2Zy3sbJ
|
## Phyn Plus Water ShutOff - https://amzn.to/2Zy3sbJ
|
||||||
|
@ -36,26 +37,6 @@ automation:
|
||||||
action: IFTTT_Phyn
|
action: IFTTT_Phyn
|
||||||
|
|
||||||
action:
|
action:
|
||||||
- service: script.speech_engine
|
|
||||||
data:
|
|
||||||
value1: >
|
|
||||||
{{ [
|
|
||||||
"Attention please. The Phyn unit has detected a possible leak. Please verify there are no leaks in the house. "
|
|
||||||
] | random }}
|
|
||||||
call_no_announcement: 1
|
|
||||||
|
|
||||||
- service: script.tweet_engine_image
|
|
||||||
data:
|
|
||||||
tweet: >
|
|
||||||
{{ [
|
|
||||||
"The @Phyn has detected a {{ trigger.event.data.alert_type }} and notified us using Home Assistant. ",
|
|
||||||
"I am shutting down the water since @Phyn detected {{ trigger.event.data.alert_type }} .",
|
|
||||||
"Time to let @ccostan know that @Phyn has detected {{ trigger.event.data.alert_type }} ."
|
|
||||||
] | random + " #SavingWater (https://www.vcloudinfo.com/2020/05/phyn-plus-smart-water-shutoff-device.html)" }}
|
|
||||||
image: >-
|
|
||||||
{{ [
|
|
||||||
"/config/www/custom_ui/floorplan/images/branding/pipeleak.png"
|
|
||||||
] | random }}
|
|
||||||
|
|
||||||
- wait_template: >-
|
- wait_template: >-
|
||||||
{{ states.sun.sun.state == 'above_horizon' }}
|
{{ states.sun.sun.state == 'above_horizon' }}
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
#-------------------------------------------
|
#-------------------------------------------
|
||||||
# @CCOSTAN
|
# @CCOSTAN
|
||||||
# Original Repo : https://github.com/CCOSTAN/Home-AssistantConfig
|
# Original Repo : https://github.com/CCOSTAN/Home-AssistantConfig
|
||||||
# NRoku Related Functions - https://amzn.to/2Ctp8cr
|
# Roku Related Functions - https://amzn.to/2Ctp8cr
|
||||||
#-------------------------------------------
|
#-------------------------------------------
|
||||||
|
|
||||||
input_boolean:
|
input_boolean:
|
||||||
|
@ -10,24 +10,6 @@ input_boolean:
|
||||||
initial: off
|
initial: off
|
||||||
icon: mdi:remote
|
icon: mdi:remote
|
||||||
|
|
||||||
ios:
|
|
||||||
push:
|
|
||||||
categories:
|
|
||||||
- name: RemoteLR
|
|
||||||
identifier: 'REMOTELR'
|
|
||||||
actions:
|
|
||||||
- identifier: 'LR_REMOTE_FOUND'
|
|
||||||
title: 'Remote Found'
|
|
||||||
activationMode: 'background'
|
|
||||||
authenticationRequired: no
|
|
||||||
destructive: no
|
|
||||||
|
|
||||||
- identifier: 'LR_REMOTE_NOT_FOUND'
|
|
||||||
title: 'Not Yet'
|
|
||||||
activationMode: 'background'
|
|
||||||
authenticationRequired: no
|
|
||||||
destructive: no
|
|
||||||
|
|
||||||
##############################################################################
|
##############################################################################
|
||||||
### Automations
|
### Automations
|
||||||
##############################################################################
|
##############################################################################
|
||||||
|
@ -41,9 +23,9 @@ automation:
|
||||||
to: 'on'
|
to: 'on'
|
||||||
|
|
||||||
- platform: event
|
- platform: event
|
||||||
event_type: ios.notification_action_fired
|
event_type: mobile_app_notification_action
|
||||||
event_data:
|
event_data:
|
||||||
actionName: LR_REMOTE_NOT_FOUND
|
action: LR_REMOTE_NOT_FOUND
|
||||||
|
|
||||||
action:
|
action:
|
||||||
- service: remote.send_command
|
- service: remote.send_command
|
||||||
|
@ -51,13 +33,23 @@ automation:
|
||||||
data:
|
data:
|
||||||
command: find_remote
|
command: find_remote
|
||||||
|
|
||||||
- service: script.notify_engine
|
- service: notify.mobile_ios_family
|
||||||
data:
|
data:
|
||||||
title: 'Living Room Remote'
|
title: Living Room Remote Finder
|
||||||
value1: 'Find Remote'
|
message: Have you found the Remote?
|
||||||
ios_category: "REMOTELR"
|
data:
|
||||||
who: "family"
|
actions:
|
||||||
apns_id: 'RemoteLR'
|
- action: LR_REMOTE_FOUND
|
||||||
|
title: Remote Found
|
||||||
|
activationMode: background
|
||||||
|
authenticationRequired: false
|
||||||
|
destructive: false
|
||||||
|
|
||||||
|
- action: LR_REMOTE_NOT_FOUND
|
||||||
|
title: Not Yet
|
||||||
|
activationMode: background
|
||||||
|
authenticationRequired: false
|
||||||
|
destructive: true
|
||||||
|
|
||||||
- service: input_boolean.turn_off
|
- service: input_boolean.turn_off
|
||||||
entity_id: input_boolean.living_room_remote_finder
|
entity_id: input_boolean.living_room_remote_finder
|
||||||
|
@ -66,9 +58,9 @@ automation:
|
||||||
id: 1f295bb8-ROKU-4b22-8f75-9fe079b295a8
|
id: 1f295bb8-ROKU-4b22-8f75-9fe079b295a8
|
||||||
trigger:
|
trigger:
|
||||||
platform: event
|
platform: event
|
||||||
event_type: ios.notification_action_fired
|
event_type: mobile_app_notification_action
|
||||||
event_data:
|
event_data:
|
||||||
actionName: LR_REMOTE_FOUND
|
action: LR_REMOTE_FOUND
|
||||||
action:
|
action:
|
||||||
- service: input_boolean.turn_off
|
- service: input_boolean.turn_off
|
||||||
entity_id: input_boolean.living_room_remote_finder
|
entity_id: input_boolean.living_room_remote_finder
|
||||||
|
|
|
@ -12,7 +12,6 @@ command_line:
|
||||||
command: "find /config -name '*.yaml' | xargs cat | wc -l"
|
command: "find /config -name '*.yaml' | xargs cat | wc -l"
|
||||||
scan_interval: 20000
|
scan_interval: 20000
|
||||||
|
|
||||||
command_line:
|
|
||||||
- sensor:
|
- sensor:
|
||||||
name: 'GitHub Stats'
|
name: 'GitHub Stats'
|
||||||
unique_id: github_stats_command
|
unique_id: github_stats_command
|
||||||
|
|
|
@ -32,7 +32,7 @@ notify_engine:
|
||||||
|
|
||||||
- service: >
|
- service: >
|
||||||
{% if who == 'stacey' %}
|
{% if who == 'stacey' %}
|
||||||
notify.mobile_app_iphone
|
notify.mobile_app_stacey_iphone11
|
||||||
{% elif who == 'carlo' %}
|
{% elif who == 'carlo' %}
|
||||||
notify.mobile_app_carlo_xsmax
|
notify.mobile_app_carlo_xsmax
|
||||||
{% elif who == 'parents' %}
|
{% elif who == 'parents' %}
|
||||||
|
@ -46,14 +46,16 @@ notify_engine:
|
||||||
title: "{{ title }}"
|
title: "{{ title }}"
|
||||||
message: "{{ value1 }} {{ value2 }} {{ value3 }}"
|
message: "{{ value1 }} {{ value2 }} {{ value3 }}"
|
||||||
data:
|
data:
|
||||||
attachment:
|
|
||||||
url: "{{ url }}"
|
|
||||||
content-type: "{{ content_type }}"
|
|
||||||
hide-thumbnail: false
|
|
||||||
apns_headers:
|
apns_headers:
|
||||||
'apns-collapse-id': "{{ apns_id }}"
|
'apns-collapse-id': "{{ apns_id }}"
|
||||||
push:
|
push:
|
||||||
# sound: "{{ ios_sound }}"
|
# sound: "{{ ios_sound }}"
|
||||||
# badge: "{{ ios_badge }}"
|
# badge: "{{ ios_badge }}"
|
||||||
|
# interruption-level: time-sensitive
|
||||||
|
# interruption-level: critical
|
||||||
category: "{{ ios_category }}"
|
category: "{{ ios_category }}"
|
||||||
entity_id: "{{ camera_entity }}"
|
entity_id: "{{ camera_entity }}"
|
||||||
|
# attachment:
|
||||||
|
# url: "{{ url }}"
|
||||||
|
# content-type: "{{ content_type }}"
|
||||||
|
# hide-thumbnail: false
|
||||||
|
|
File diff suppressed because one or more lines are too long
Binary file not shown.
Loading…
Reference in New Issue