mirror of
https://github.com/CCOSTAN/Home-AssistantConfig.git
synced 2025-08-20 04:04:06 +00:00
closes #955
This commit is contained in:
@@ -5,6 +5,7 @@
|
||||
#
|
||||
# Features:
|
||||
# - Displays garage camera feed on Echo Show devices
|
||||
# - Displays driveway camera feed when front door opens
|
||||
# - Triggers based on garage door state and occupancy changes
|
||||
#
|
||||
# Hardware:
|
||||
@@ -61,14 +62,6 @@ 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
|
||||
|
||||
default:
|
||||
- service: media_player.play_media
|
||||
target:
|
||||
@@ -85,3 +78,25 @@ automation:
|
||||
media_content_type: custom
|
||||
|
||||
- service: script.garage_lights_off
|
||||
|
||||
- alias: 'FrontDoor Bell Camera on Front Door Lock'
|
||||
id: Doorbell_camera_front_door
|
||||
mode: single
|
||||
trigger:
|
||||
- platform: state
|
||||
entity_id: lock.front_door_lock
|
||||
to: 'unlocked'
|
||||
action:
|
||||
- service: media_player.play_media
|
||||
target:
|
||||
entity_id: media_player.kitchen
|
||||
data:
|
||||
media_content_id: 'show front doorbell camera'
|
||||
media_content_type: custom
|
||||
- delay: '00:20:00'
|
||||
- service: media_player.play_media
|
||||
target:
|
||||
entity_id: media_player.kitchen
|
||||
data:
|
||||
media_content_id: 'hide front doorbell camera'
|
||||
media_content_type: custom
|
||||
|
Reference in New Issue
Block a user