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.MCU1_GPIO12 # Interior Garage Door #
|
||||
from: 'off'
|
||||
to: 'on'
|
||||
|
||||
condition:
|
||||
- condition: state
|
||||
|
|
|
@ -30,7 +30,7 @@
|
|||
- service: script.notify_engine
|
||||
data:
|
||||
title: 'Medicine Reminder Completed'
|
||||
value1: 'Carlo Took Medicine today.'
|
||||
value1: 'Carlo Took his Medicine today.'
|
||||
who: 'parents'
|
||||
apns_id: 'Medicine'
|
||||
- delay:
|
||||
|
|
|
@ -8,9 +8,10 @@ media_players:
|
|||
- media_player.living_room
|
||||
- media_player.front_room_flex
|
||||
- media_player.office
|
||||
- media_player.kitchen_show
|
||||
- media_player.kitchen
|
||||
- media_player.justin_room
|
||||
- media_player.tap
|
||||
- media_player.upstairs
|
||||
- media_player.stacey_bedroom
|
||||
- media_player.carlo_bedroom
|
||||
- media_player.master_bathroom
|
||||
|
|
|
@ -37,6 +37,13 @@ automation:
|
|||
from: 'not_home'
|
||||
to: 'home'
|
||||
|
||||
- platform: state
|
||||
entity_id:
|
||||
- person.carlo
|
||||
- person.stacey
|
||||
to: 'not_home'
|
||||
from: 'home'
|
||||
|
||||
action:
|
||||
- choose:
|
||||
- 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_type: custom
|
||||
|
||||
- conditions: "{{ is_state('switch.kitchen_accent_1','on') }}"
|
||||
sequence:
|
||||
- service: media_player.play_media
|
||||
data:
|
||||
entity_id: media_player.alarm_panel_1
|
||||
media_content_id: 'show garage camera'
|
||||
media_content_type: custom
|
||||
# - conditions: "{{ is_state('switch.kitchen_accent_1','on') }}"
|
||||
# sequence:
|
||||
# - service: media_player.play_media
|
||||
# data:
|
||||
# entity_id: media_player.alarm_panel_1
|
||||
# media_content_id: 'show garage camera'
|
||||
# media_content_type: custom
|
||||
|
||||
default:
|
||||
- service: media_player.play_media
|
||||
target:
|
||||
entity_id: media_player.kitchen
|
||||
data:
|
||||
entity_id: media_player.kitchen_show
|
||||
media_content_id: 'show garage camera'
|
||||
media_content_type: custom
|
||||
- delay: '00:20:00'
|
||||
- service: media_player.play_media
|
||||
target:
|
||||
entity_id: media_player.kitchen
|
||||
data:
|
||||
entity_id: media_player.kitchen_show
|
||||
media_content_id: 'hide garage camera'
|
||||
media_content_type: custom
|
||||
|
||||
|
|
|
@ -54,6 +54,7 @@ automation:
|
|||
trigger:
|
||||
platform: webhook
|
||||
webhook_id: !secret github_webhook
|
||||
local_only: false
|
||||
|
||||
condition:
|
||||
|
||||
|
|
|
@ -12,13 +12,12 @@ notify:
|
|||
- name: ios_family
|
||||
platform: group
|
||||
services:
|
||||
- service: mobile_app_stacey_6s
|
||||
- service: mobile_app_stacey_iphone11
|
||||
- service: mobile_app_carlo_xsmax
|
||||
- service: mobile_app_paige_6s
|
||||
- name: ios_parents
|
||||
platform: group
|
||||
services:
|
||||
- service: mobile_app_stacey_6s
|
||||
- service: mobile_app_stacey_iphone11
|
||||
- service: mobile_app_carlo_xsmax
|
||||
|
||||
mobile_app:
|
||||
|
|
|
@ -3,6 +3,7 @@
|
|||
# Original Repo : https://github.com/CCOSTAN/Home-AssistantConfig
|
||||
# Phyn Smart Water ShutOff Support
|
||||
# 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
|
||||
|
@ -36,26 +37,6 @@ automation:
|
|||
action: IFTTT_Phyn
|
||||
|
||||
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: >-
|
||||
{{ states.sun.sun.state == 'above_horizon' }}
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
#-------------------------------------------
|
||||
# @CCOSTAN
|
||||
# Original Repo : https://github.com/CCOSTAN/Home-AssistantConfig
|
||||
# NRoku Related Functions - https://amzn.to/2Ctp8cr
|
||||
# Roku Related Functions - https://amzn.to/2Ctp8cr
|
||||
#-------------------------------------------
|
||||
|
||||
input_boolean:
|
||||
|
@ -10,24 +10,6 @@ input_boolean:
|
|||
initial: off
|
||||
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
|
||||
##############################################################################
|
||||
|
@ -41,9 +23,9 @@ automation:
|
|||
to: 'on'
|
||||
|
||||
- platform: event
|
||||
event_type: ios.notification_action_fired
|
||||
event_type: mobile_app_notification_action
|
||||
event_data:
|
||||
actionName: LR_REMOTE_NOT_FOUND
|
||||
action: LR_REMOTE_NOT_FOUND
|
||||
|
||||
action:
|
||||
- service: remote.send_command
|
||||
|
@ -51,13 +33,23 @@ automation:
|
|||
data:
|
||||
command: find_remote
|
||||
|
||||
- service: script.notify_engine
|
||||
- service: notify.mobile_ios_family
|
||||
data:
|
||||
title: 'Living Room Remote'
|
||||
value1: 'Find Remote'
|
||||
ios_category: "REMOTELR"
|
||||
who: "family"
|
||||
apns_id: 'RemoteLR'
|
||||
title: Living Room Remote Finder
|
||||
message: Have you found the Remote?
|
||||
data:
|
||||
actions:
|
||||
- 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
|
||||
entity_id: input_boolean.living_room_remote_finder
|
||||
|
@ -66,9 +58,9 @@ automation:
|
|||
id: 1f295bb8-ROKU-4b22-8f75-9fe079b295a8
|
||||
trigger:
|
||||
platform: event
|
||||
event_type: ios.notification_action_fired
|
||||
event_type: mobile_app_notification_action
|
||||
event_data:
|
||||
actionName: LR_REMOTE_FOUND
|
||||
action: LR_REMOTE_FOUND
|
||||
action:
|
||||
- service: input_boolean.turn_off
|
||||
entity_id: input_boolean.living_room_remote_finder
|
||||
|
|
|
@ -12,7 +12,6 @@ command_line:
|
|||
command: "find /config -name '*.yaml' | xargs cat | wc -l"
|
||||
scan_interval: 20000
|
||||
|
||||
command_line:
|
||||
- sensor:
|
||||
name: 'GitHub Stats'
|
||||
unique_id: github_stats_command
|
||||
|
|
|
@ -32,7 +32,7 @@ notify_engine:
|
|||
|
||||
- service: >
|
||||
{% if who == 'stacey' %}
|
||||
notify.mobile_app_iphone
|
||||
notify.mobile_app_stacey_iphone11
|
||||
{% elif who == 'carlo' %}
|
||||
notify.mobile_app_carlo_xsmax
|
||||
{% elif who == 'parents' %}
|
||||
|
@ -46,14 +46,16 @@ notify_engine:
|
|||
title: "{{ title }}"
|
||||
message: "{{ value1 }} {{ value2 }} {{ value3 }}"
|
||||
data:
|
||||
attachment:
|
||||
url: "{{ url }}"
|
||||
content-type: "{{ content_type }}"
|
||||
hide-thumbnail: false
|
||||
apns_headers:
|
||||
'apns-collapse-id': "{{ apns_id }}"
|
||||
push:
|
||||
# sound: "{{ ios_sound }}"
|
||||
# badge: "{{ ios_badge }}"
|
||||
# interruption-level: time-sensitive
|
||||
# interruption-level: critical
|
||||
category: "{{ ios_category }}"
|
||||
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