homeassistant-config/automations/ir_bedroom.yaml

551 lines
14 KiB
YAML
Raw Normal View History

# Dont' edit manually! this is generated!
- alias: IR bedroompi.fritz.box btn_1
trigger:
platform: event
event_type: ir_command_received
event_data:
button_name: btn_1
repeat_counter: 0
host: bedroompi.fritz.box
action:
service: media_player.play_media
data:
media_content_id: Good Morning
media_content_type: music
entity_id: media_player.bedroompi
- alias: IR bedroompi.fritz.box btn_2
trigger:
platform: event
event_type: ir_command_received
event_data:
button_name: btn_2
repeat_counter: 0
host: bedroompi.fritz.box
action:
service: media_player.play_media
data:
media_content_id: Good Night Long
media_content_type: music
entity_id: media_player.bedroompi
- alias: IR bedroompi.fritz.box btn_3
trigger:
platform: event
event_type: ir_command_received
event_data:
button_name: btn_3
repeat_counter: 0
host: bedroompi.fritz.box
action:
service: media_player.play_media
data:
media_content_id: Good Night
media_content_type: music
entity_id: media_player.bedroompi
- alias: IR bedroompi.fritz.box btn_4
trigger:
platform: event
event_type: ir_command_received
event_data:
button_name: btn_4
repeat_counter: 0
host: bedroompi.fritz.box
action:
service: media_player.play_media
data:
media_content_id: Bar Classics
media_content_type: music
entity_id: media_player.bedroompi
- alias: IR bedroompi.fritz.box btn_5
trigger:
platform: event
event_type: ir_command_received
event_data:
button_name: btn_5
repeat_counter: 0
host: bedroompi.fritz.box
action:
service: media_player.play_media
data:
media_content_id: Sentimental Moods
media_content_type: music
entity_id: media_player.bedroompi
- alias: IR bedroompi.fritz.box btn_6
trigger:
platform: event
event_type: ir_command_received
event_data:
button_name: btn_6
repeat_counter: 0
host: bedroompi.fritz.box
action:
service: media_player.play_media
data:
media_content_id: Pop
media_content_type: music
entity_id: media_player.bedroompi
- alias: IR bedroompi.fritz.box btn_7
trigger:
platform: event
event_type: ir_command_received
event_data:
button_name: btn_7
repeat_counter: 0
host: bedroompi.fritz.box
action:
service: media_player.play_media
data:
media_content_id: B 5 aktuell
media_content_type: channel
entity_id: media_player.bedroompi
- alias: IR bedroompi.fritz.box btn_8
trigger:
platform: event
event_type: ir_command_received
event_data:
button_name: btn_8
repeat_counter: 0
host: bedroompi.fritz.box
action:
service: media_player.play_media
data:
media_content_id: BR-Klassik
media_content_type: channel
entity_id: media_player.bedroompi
- alias: IR bedroompi.fritz.box btn_9
trigger:
platform: event
event_type: ir_command_received
event_data:
button_name: btn_9
repeat_counter: 0
host: bedroompi.fritz.box
action:
service: media_player.play_media
data:
media_content_id: http://opml.radiotime.com/Tune.ashx?id=s25028&formats=aac,ogg,mp3
media_content_type: music
entity_id: media_player.bedroompi
- alias: IR bedroompi.fritz.box key_numeric_star
trigger:
platform: event
event_type: ir_command_received
event_data:
button_name: key_numeric_star
repeat_counter: 0
host: bedroompi.fritz.box
action:
service: media_player.play_media
data:
media_content_id: Antenne Bayern
media_content_type: channel
entity_id: media_player.bedroompi
- alias: IR bedroompi.fritz.box btn_0
trigger:
platform: event
event_type: ir_command_received
event_data:
button_name: btn_0
repeat_counter: 0
host: bedroompi.fritz.box
action:
service: media_player.play_media
data:
media_content_id: Bayern 3
media_content_type: channel
entity_id: media_player.bedroompi
- alias: IR bedroompi.fritz.box key_numeric_pound
trigger:
platform: event
event_type: ir_command_received
event_data:
button_name: key_numeric_pound
repeat_counter: 0
host: bedroompi.fritz.box
action:
service: media_player.play_media
data:
media_content_id: Bayern 2
media_content_type: channel
entity_id: media_player.bedroompi
- alias: IR bedroompi.fritz.box key_red
trigger:
platform: event
event_type: ir_command_received
event_data:
button_name: key_red
repeat_counter: 0
host: bedroompi.fritz.box
action:
service: scene.turn_on
data:
entity_id: scene.schlafzimmer_orange
- alias: IR bedroompi.fritz.box key_green
trigger:
platform: event
event_type: ir_command_received
event_data:
button_name: key_green
repeat_counter: 0
host: bedroompi.fritz.box
action:
service: scene.turn_on
data:
entity_id: scene.schlafzimmer_rot
- alias: IR bedroompi.fritz.box key_yellow
trigger:
platform: event
event_type: ir_command_received
event_data:
button_name: key_yellow
repeat_counter: 0
host: bedroompi.fritz.box
action:
service: scene.turn_on
data:
entity_id: scene.schlafzimmer_ganz_hell
- alias: IR bedroompi.fritz.box key_blue
trigger:
platform: event
event_type: ir_command_received
event_data:
button_name: key_blue
repeat_counter: 0
host: bedroompi.fritz.box
action:
service: scene.turn_on
data:
entity_id: scene.schlafzimmer_blau
- alias: IR bedroompi.fritz.box key_tv
trigger:
platform: event
event_type: ir_command_received
event_data:
button_name: key_tv
repeat_counter: 0
host: bedroompi.fritz.box
action:
- service: script.turn_on
data:
variables:
media_content_id: spotify:playlist:37i9dQZF1DXbcPC6Vvqudd
light_off_secs: 900
music_off_secs: 2700
shuffle: 1
entity_id: script.timed_sleep
- alias: IR bedroompi.fritz.box key_video
trigger:
platform: event
event_type: ir_command_received
event_data:
button_name: key_video
repeat_counter: 0
host: bedroompi.fritz.box
action:
- service: script.turn_on
data:
variables:
media_content_id: Good Night
light_off_secs: 900
music_off_secs: 2700
shuffle: 0
entity_id: script.timed_sleep
- alias: IR bedroompi.fritz.box key_music
trigger:
platform: event
event_type: ir_command_received
event_data:
button_name: key_music
repeat_counter: 0
host: bedroompi.fritz.box
action:
- service: script.turn_on
data:
variables:
media_content_id: spotify:playlist:37i9dQZF1DXbcPC6Vvqudd
light_off_secs: 300
music_off_secs: 1200
shuffle: 1
entity_id: script.timed_sleep
- alias: IR bedroompi.fritz.box key_pictures
trigger:
platform: event
event_type: ir_command_received
event_data:
button_name: key_pictures
repeat_counter: 0
host: bedroompi.fritz.box
action:
- service: script.turn_on
data:
variables:
media_content_id: Good Night
light_off_secs: 300
music_off_secs: 1200
shuffle: 0
entity_id: script.timed_sleep
- alias: IR bedroompi.fritz.box key_power
trigger:
platform: event
event_type: ir_command_received
event_data:
button_name: key_power
repeat_counter: 0
host: bedroompi.fritz.box
action:
- service: media_player.media_pause
data:
entity_id: media_player.bedroompi
- service: light.turn_off
data:
entity_id: group.bedroom
- alias: IR bedroompi.fritz.box key_ok
trigger:
platform: event
event_type: ir_command_received
event_data:
button_name: key_ok
repeat_counter: 0
host: bedroompi.fritz.box
action:
- service: cover.close_cover
data:
entity_id: cover.schlafzimmer_rollo_gross
- service: cover_half.set_half
data:
entity_id: cover.schlafzimmer_rollo_klein
- alias: IR bedroompi.fritz.box key_mute
trigger:
platform: event
event_type: ir_command_received
event_data:
button_name: key_mute
repeat_counter: 0
host: bedroompi.fritz.box
action:
- service: light.turn_off
data:
entity_id: group.all_downstairs_but_bedroom_and_outside
- alias: IR bedroompi.fritz.box key_channel
trigger:
platform: event
event_type: ir_command_received
event_data:
button_name: key_channel
repeat_counter: 0
host: bedroompi.fritz.box
action:
- service: light.turn_off
data:
entity_id: group.all_downstairs_but_bedroom
- alias: IR bedroompi.fritz.box Rollo auf
trigger:
platform: event
event_type: ir_command_received
event_data:
button_name: key_up
repeat_counter: 0
host: bedroompi.fritz.box
action:
service: cover.open_cover
data:
entity_id: group.bedroom
- alias: IR bedroompi.fritz.box Rollo zu
trigger:
platform: event
event_type: ir_command_received
event_data:
button_name: key_down
repeat_counter: 0
host: bedroompi.fritz.box
action:
service: cover.close_cover
data:
entity_id: group.bedroom
- alias: IR bedroompi.fritz.box Rollo halb
trigger:
- platform: event
event_type: ir_command_received
event_data:
button_name: key_left
repeat_counter: 0
host: bedroompi.fritz.box
- platform: event
event_type: ir_command_received
event_data:
button_name: key_right
repeat_counter: 0
host: bedroompi.fritz.box
action:
service: cover_half.set_half
data:
entity_id: group.bedroom
- alias: IR bedroompi.fritz.box Licht heller
trigger:
platform: event
event_type: ir_command_received
event_data:
button_name: key_channelup
repeat_counter: 0
host: bedroompi.fritz.box
action:
service: dimmer.dim
data:
offset: 30
entity_id: group.bedroom
- alias: IR bedroompi.fritz.box Licht dunkler
trigger:
platform: event
event_type: ir_command_received
event_data:
button_name: key_channeldown
repeat_counter: 0
host: bedroompi.fritz.box
action:
service: dimmer.dim
data:
offset: -30
entity_id: group.bedroom
- alias: IR bedroompi.fritz.box Licht viel heller
trigger:
platform: event
event_type: ir_command_received
event_data:
button_name: key_menu
repeat_counter: 0
host: bedroompi.fritz.box
action:
service: dimmer.dim
data:
offset: 130
entity_id: group.bedroom
- alias: IR bedroompi.fritz.box Licht viel dunkler
trigger:
platform: event
event_type: ir_command_received
event_data:
button_name: key_stop
repeat_counter: 0
host: bedroompi.fritz.box
action:
service: dimmer.dim
data:
offset: -130
entity_id: group.bedroom
- alias: IR bedroompi.fritz.box Licht aus
trigger:
platform: event
event_type: ir_command_received
event_data:
button_name: key_goto
repeat_counter: 0
host: bedroompi.fritz.box
action:
service: light.turn_off
data:
entity_id: group.bedroom
- alias: IR bedroompi.fritz.box Musik Play/Pause
trigger:
- platform: event
event_type: ir_command_received
event_data:
button_name: key_play
repeat_counter: 0
host: bedroompi.fritz.box
- platform: event
event_type: ir_command_received
event_data:
button_name: key_pause
repeat_counter: 0
host: bedroompi.fritz.box
action:
service: media_player.media_play_pause
data:
entity_id: media_player.bedroompi
- alias: IR bedroompi.fritz.box Musik Next
trigger:
- platform: event
event_type: ir_command_received
event_data:
button_name: key_forward
repeat_counter: 0
host: bedroompi.fritz.box
- platform: event
event_type: ir_command_received
event_data:
button_name: key_fastforward
repeat_counter: 0
host: bedroompi.fritz.box
action:
service: media_player.media_next_track
data:
entity_id: media_player.bedroompi
- alias: IR bedroompi.fritz.box Musik Prev
trigger:
- platform: event
event_type: ir_command_received
event_data:
button_name: key_previous
repeat_counter: 0
host: bedroompi.fritz.box
- platform: event
event_type: ir_command_received
event_data:
button_name: key_rewind
repeat_counter: 0
host: bedroompi.fritz.box
action:
service: media_player.media_next_track
data:
entity_id: media_player.bedroompi
- alias: IR bedroompi.fritz.box Vol Up
trigger:
platform: event
event_type: ir_command_received
event_data:
button_name: key_volumeup
repeat_counter: 0
host: bedroompi.fritz.box
action:
service: media_player.volume_up
data:
entity_id: media_player.bedroompi
- alias: IR bedroompi.fritz.box Vol Down
trigger:
platform: event
event_type: ir_command_received
event_data:
button_name: key_volumedown
repeat_counter: 0
host: bedroompi.fritz.box
action:
service: media_player.volume_down
data:
entity_id: media_player.bedroompi
- alias: IR bedroompi.fritz.box Shuffle On
trigger:
platform: event
event_type: ir_command_received
event_data:
button_name: key_menu
repeat_counter: 0
host: bedroompi.fritz.box
action:
service: media_player.shuffle_set
data:
shuffle: true
entity_id: media_player.bedroompi
- alias: IR bedroompi.fritz.box Shuffle Off
trigger:
platform: event
event_type: ir_command_received
event_data:
button_name: key_exit
repeat_counter: 0
host: bedroompi.fritz.box
action:
service: media_player.shuffle_set
data:
shuffle: false
entity_id: media_player.bedroompi