mirror of
https://github.com/CCOSTAN/Home-AssistantConfig.git
synced 2025-08-20 12:10:28 +00:00
Lots of Changes to the IOS notifications.
This commit is contained in:
@@ -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
|
||||
|
||||
|
@@ -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:
|
||||
|
@@ -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
|
||||
|
Reference in New Issue
Block a user