Lots of Changes to the IOS notifications.

This commit is contained in:
ccostan
2023-07-19 23:32:11 -04:00
parent bfc7ece391
commit 5c020091a8
11 changed files with 36 additions and 24 deletions

View File

@@ -35,7 +35,14 @@ automation:
- person.carlo
- person.stacey
from: 'not_home'
to: 'home'
to: 'home'
- platform: state
entity_id:
- person.carlo
- person.stacey
to: 'not_home'
from: 'home'
action:
- choose:
@@ -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

View File

@@ -54,6 +54,7 @@ automation:
trigger:
platform: webhook
webhook_id: !secret github_webhook
local_only: false
condition:

View File

@@ -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:

View File

@@ -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