Bathroom music cleanup
This commit is contained in:
parent
ae247e929a
commit
8cb038d6ba
@ -1,16 +1,4 @@
|
||||
- id: bathroom-mirror-lights-on
|
||||
alias: '[Bathroom] Mirror Button Music'
|
||||
trigger:
|
||||
- device_id: ea9d3cc90cf5da1108925e50489efce9
|
||||
domain: zha
|
||||
platform: device
|
||||
type: remote_button_alt_short_press
|
||||
subtype: button_2
|
||||
action:
|
||||
- service: script.bathroom_music_toggle
|
||||
mode: single
|
||||
|
||||
- id: bathroom-mirror-lights-off
|
||||
- id: bathroom-mirror-lights
|
||||
alias: '[Bathroom] Mirror Button Lights toggle'
|
||||
trigger:
|
||||
- device_id: ea9d3cc90cf5da1108925e50489efce9
|
||||
@ -22,7 +10,7 @@
|
||||
- service: script.bathroom_mirror_lights_toggle
|
||||
mode: single
|
||||
|
||||
- id: bathroom-mirror-button-3
|
||||
- id: bathroom-mirror-button-vacuum
|
||||
alias: '[Bathroom] Mirror Button Vacuum'
|
||||
trigger:
|
||||
- device_id: ea9d3cc90cf5da1108925e50489efce9
|
||||
@ -45,7 +33,7 @@
|
||||
target:
|
||||
entity_id: vacuum.valetudo_valetudos5
|
||||
|
||||
- id: bathroom-mirror-button-4
|
||||
- id: bathroom-mirror-button-automations-off
|
||||
alias: '[Bathroom] Mirror Button Automations'
|
||||
trigger:
|
||||
- device_id: ea9d3cc90cf5da1108925e50489efce9
|
||||
|
@ -32,6 +32,11 @@
|
||||
platform: device
|
||||
type: remote_button_double_press
|
||||
subtype: remote_button_double_press
|
||||
- device_id: ea9d3cc90cf5da1108925e50489efce9
|
||||
domain: zha
|
||||
platform: device
|
||||
type: remote_button_alt_double_press
|
||||
subtype: button_2
|
||||
condition:
|
||||
- condition: not
|
||||
conditions:
|
||||
@ -47,7 +52,7 @@
|
||||
target:
|
||||
entity_id: media_player.bathroom
|
||||
data:
|
||||
media_content_id: https://open.spotify.com/playlist/71mXIu6HcdVj3fAMduaHop
|
||||
media_content_id: "{{ states('input_text.bathroom_playlist') }}"
|
||||
media_content_type: music
|
||||
|
||||
- id: bathroom-music-button-pause
|
||||
@ -60,5 +65,10 @@
|
||||
platform: device
|
||||
type: remote_button_short_press
|
||||
subtype: remote_button_short_press
|
||||
- device_id: ea9d3cc90cf5da1108925e50489efce9
|
||||
domain: zha
|
||||
platform: device
|
||||
type: remote_button_alt_short_press
|
||||
subtype: button_2
|
||||
action:
|
||||
- service: script.bathroom_music_toggle
|
@ -99,6 +99,9 @@ input_select:
|
||||
- Away
|
||||
icon: "mdi:home"
|
||||
input_text:
|
||||
bathroom_playlist:
|
||||
name: Bathroom playlist
|
||||
icon: "mdi:folder-music-outline"
|
||||
logbook:
|
||||
network:
|
||||
map:
|
||||
|
Loading…
Reference in New Issue
Block a user