Testing out cameras on Show #955 - Plus new version.

This commit is contained in:
ccostan
2020-12-19 20:10:16 -05:00
parent 148d782775
commit a59edc9f65
8 changed files with 55 additions and 7 deletions

47
config/packages/conico.yaml Executable file
View File

@@ -0,0 +1,47 @@
#-------------------------------------------
# @CCOSTAN
# Original Repo : https://github.com/CCOSTAN/Home-AssistantConfig
# Conico Cameras via Alexa Media Player
#-------------------------------------------
######################################################################
## Conico Camera - https://amzn.to/2Kl1eHo
######################################################################
######################################################################
## Show Camera on Echo Shows for 20 minutes after garage door opens.
######################################################################
automation:
- alias: 'Garage Camera on Alexa Shows'
id: 4373df2a-77f2-4e19-be7c-46c7b27ca583
mode: restart
trigger:
- platform: state
entity_id:
- cover.large_garage_door
- cover.small_garage_door
from: 'closed'
to: 'open'
action:
- service: media_player.play_media
data:
entity_id:
- media_player.kitchen_show
- media_player.upstairs
- media_player.stacey_bedroom
media_content_id: 'show garage camera'
media_content_type: custom
- delay: '00:20:00'
- service: media_player.play_media
data:
entity_id:
- media_player.kitchen_show
- media_player.upstairs
- media_player.stacey_bedroom
media_content_id: 'hide garage camera'
media_content_type: custom