Add Media Player Package

This commit is contained in:
2022-05-16 13:19:27 -07:00
parent 3dd1220839
commit 7c93c968f2
3 changed files with 155 additions and 3 deletions

View File

@@ -1,8 +1,53 @@
# Lighting Package
# -----------------------------------------------------------------------------
# Automations for Bedroom Nightstand Lamps
# Lighting State Helpers
input_select:
ht_lighting_mode:
name: Home Theater Lighting Mode
options:
- Normal # Lights Dim on Playing/Pause, Low on Stopped
- Theater # Lights Off on Playing, Dim on Pause, No Change on Stopped
- Disabled # No Lighting Control
initial: Normal
input_button:
ht_reload_lights:
name: 'Reload Home Theater Lights'
icon: mdi:lightbulb-on-outline
# -----------------------------------------------------------------------------
# Home Theater Lighting Scenes
scene:
- name: Home Theater Normal
entities:
light.living_room_light:
state: "on"
brightness: 100
- name: Home Theater Low
entities:
light.living_room_light:
state: "on"
brightness: 50
- name: Home Theater Dim
entities:
light.living_room_light:
state: "on"
brightness: 30
- name: Home Theater Off
entities:
light.living_room_light: "off"
# -----------------------------------------------------------------------------
# Lighting Automations
automation:
# Automations for Home Theater
# Automations for Bedroom Nightstand Lamps
- alias: Jen Nightstand Lamp
mode: single
trigger:
@@ -33,6 +78,7 @@ automation:
entity_id: light.jp_nightstand_light
domain: light
# Automations for Presence Changes
- alias: Turn On Porch Light after Chorale
trigger:
- platform: zone
@@ -44,9 +90,8 @@ automation:
zone: zone.chorale_rehearsal
event: leave
condition:
- condition:
- condition: state
alias: "Sun down"
condition: state
entity_id: sun.sun
state: "below_horizon"
mode: queued