Multiple config changes
- new scene "stillen" - stop media player on pause key, to prevent squeezelite stutter issue - ignore "new devices available" notification
This commit is contained in:
parent
c75c787186
commit
feeefbe987
|
@ -115,7 +115,7 @@
|
||||||
repeat_counter: 0
|
repeat_counter: 0
|
||||||
host: esszimmerradio.fritz.box
|
host: esszimmerradio.fritz.box
|
||||||
action:
|
action:
|
||||||
service: media_player.media_pause
|
service: media_player.turn_off
|
||||||
data:
|
data:
|
||||||
entity_id: media_player.esszimmer
|
entity_id: media_player.esszimmer
|
||||||
|
|
||||||
|
|
|
@ -179,7 +179,7 @@
|
||||||
action:
|
action:
|
||||||
service: scene.turn_on
|
service: scene.turn_on
|
||||||
data:
|
data:
|
||||||
entity_id: scene.schlafzimmer_orange
|
entity_id: scene.schlafzimmer_stillen
|
||||||
- alias: IR bedroompi.fritz.box key_green
|
- alias: IR bedroompi.fritz.box key_green
|
||||||
trigger:
|
trigger:
|
||||||
platform: event
|
platform: event
|
||||||
|
@ -444,22 +444,28 @@
|
||||||
service: light.turn_off
|
service: light.turn_off
|
||||||
data:
|
data:
|
||||||
entity_id: group.bedroom
|
entity_id: group.bedroom
|
||||||
- alias: IR bedroompi.fritz.box Musik Play/Pause
|
- alias: IR bedroompi.fritz.box Musik Play
|
||||||
trigger:
|
trigger:
|
||||||
- platform: event
|
platform: event
|
||||||
event_type: ir_command_received
|
event_type: ir_command_received
|
||||||
event_data:
|
event_data:
|
||||||
button_name: key_play
|
button_name: key_play
|
||||||
repeat_counter: 0
|
repeat_counter: 0
|
||||||
host: bedroompi.fritz.box
|
host: bedroompi.fritz.box
|
||||||
- platform: event
|
action:
|
||||||
|
service: media_player.media_play_pause
|
||||||
|
data:
|
||||||
|
entity_id: media_player.bedroompi
|
||||||
|
- alias: IR bedroompi.fritz.box Musik Pause
|
||||||
|
trigger:
|
||||||
|
platform: event
|
||||||
event_type: ir_command_received
|
event_type: ir_command_received
|
||||||
event_data:
|
event_data:
|
||||||
button_name: key_pause
|
button_name: key_pause
|
||||||
repeat_counter: 0
|
repeat_counter: 0
|
||||||
host: bedroompi.fritz.box
|
host: bedroompi.fritz.box
|
||||||
action:
|
action:
|
||||||
service: media_player.media_play_pause
|
service: media_player.turn_off
|
||||||
data:
|
data:
|
||||||
entity_id: media_player.bedroompi
|
entity_id: media_player.bedroompi
|
||||||
- alias: IR bedroompi.fritz.box Musik Next
|
- alias: IR bedroompi.fritz.box Musik Next
|
||||||
|
|
|
@ -168,22 +168,28 @@
|
||||||
media_content_id: SammlungGeorg
|
media_content_id: SammlungGeorg
|
||||||
media_content_type: music
|
media_content_type: music
|
||||||
entity_id: media_player.esszimmer
|
entity_id: media_player.esszimmer
|
||||||
- alias: IR esszimmerradio.fritz.box Musik Play/Pause
|
- alias: IR esszimmerradio.fritz.box Musik Play
|
||||||
trigger:
|
trigger:
|
||||||
- platform: event
|
platform: event
|
||||||
event_type: ir_command_received
|
event_type: ir_command_received
|
||||||
event_data:
|
event_data:
|
||||||
button_name: key_play
|
button_name: key_play
|
||||||
repeat_counter: 0
|
repeat_counter: 0
|
||||||
host: esszimmerradio.fritz.box
|
host: esszimmerradio.fritz.box
|
||||||
- platform: event
|
action:
|
||||||
|
service: media_player.media_play_pause
|
||||||
|
data:
|
||||||
|
entity_id: media_player.esszimmer
|
||||||
|
- alias: IR esszimmerradio.fritz.box Musik Pause
|
||||||
|
trigger:
|
||||||
|
platform: event
|
||||||
event_type: ir_command_received
|
event_type: ir_command_received
|
||||||
event_data:
|
event_data:
|
||||||
button_name: key_pause
|
button_name: key_pause
|
||||||
repeat_counter: 0
|
repeat_counter: 0
|
||||||
host: esszimmerradio.fritz.box
|
host: esszimmerradio.fritz.box
|
||||||
action:
|
action:
|
||||||
service: media_player.media_play_pause
|
service: media_player.turn_off
|
||||||
data:
|
data:
|
||||||
entity_id: media_player.esszimmer
|
entity_id: media_player.esszimmer
|
||||||
- alias: IR esszimmerradio.fritz.box Musik Next
|
- alias: IR esszimmerradio.fritz.box Musik Next
|
||||||
|
|
|
@ -168,22 +168,28 @@
|
||||||
media_content_id: SammlungGeorg
|
media_content_id: SammlungGeorg
|
||||||
media_content_type: music
|
media_content_type: music
|
||||||
entity_id: media_player.wohnzimmer
|
entity_id: media_player.wohnzimmer
|
||||||
- alias: IR musikserverWohnzimmerOben.fritz.box Musik Play/Pause
|
- alias: IR musikserverWohnzimmerOben.fritz.box Musik Play
|
||||||
trigger:
|
trigger:
|
||||||
- platform: event
|
platform: event
|
||||||
event_type: ir_command_received
|
event_type: ir_command_received
|
||||||
event_data:
|
event_data:
|
||||||
button_name: key_play
|
button_name: key_play
|
||||||
repeat_counter: 0
|
repeat_counter: 0
|
||||||
host: musikserverWohnzimmerOben.fritz.box
|
host: musikserverWohnzimmerOben.fritz.box
|
||||||
- platform: event
|
action:
|
||||||
|
service: media_player.media_play_pause
|
||||||
|
data:
|
||||||
|
entity_id: media_player.wohnzimmer
|
||||||
|
- alias: IR musikserverWohnzimmerOben.fritz.box Musik Pause
|
||||||
|
trigger:
|
||||||
|
platform: event
|
||||||
event_type: ir_command_received
|
event_type: ir_command_received
|
||||||
event_data:
|
event_data:
|
||||||
button_name: key_pause
|
button_name: key_pause
|
||||||
repeat_counter: 0
|
repeat_counter: 0
|
||||||
host: musikserverWohnzimmerOben.fritz.box
|
host: musikserverWohnzimmerOben.fritz.box
|
||||||
action:
|
action:
|
||||||
service: media_player.media_play_pause
|
service: media_player.turn_off
|
||||||
data:
|
data:
|
||||||
entity_id: media_player.wohnzimmer
|
entity_id: media_player.wohnzimmer
|
||||||
- alias: IR musikserverWohnzimmerOben.fritz.box Musik Next
|
- alias: IR musikserverWohnzimmerOben.fritz.box Musik Next
|
||||||
|
|
|
@ -280,22 +280,28 @@
|
||||||
service: light.turn_off
|
service: light.turn_off
|
||||||
data:
|
data:
|
||||||
entity_id: group.living_area
|
entity_id: group.living_area
|
||||||
- alias: IR kitchenpi.fritz.box Musik Play/Pause
|
- alias: IR kitchenpi.fritz.box Musik Play
|
||||||
trigger:
|
trigger:
|
||||||
- platform: event
|
platform: event
|
||||||
event_type: ir_command_received
|
event_type: ir_command_received
|
||||||
event_data:
|
event_data:
|
||||||
button_name: key_play
|
button_name: key_play
|
||||||
repeat_counter: 0
|
repeat_counter: 0
|
||||||
host: kitchenpi.fritz.box
|
host: kitchenpi.fritz.box
|
||||||
- platform: event
|
action:
|
||||||
|
service: media_player.media_play_pause
|
||||||
|
data:
|
||||||
|
entity_id: media_player.kitchenpi
|
||||||
|
- alias: IR kitchenpi.fritz.box Musik Pause
|
||||||
|
trigger:
|
||||||
|
platform: event
|
||||||
event_type: ir_command_received
|
event_type: ir_command_received
|
||||||
event_data:
|
event_data:
|
||||||
button_name: key_pause
|
button_name: key_pause
|
||||||
repeat_counter: 0
|
repeat_counter: 0
|
||||||
host: kitchenpi.fritz.box
|
host: kitchenpi.fritz.box
|
||||||
action:
|
action:
|
||||||
service: media_player.media_play_pause
|
service: media_player.turn_off
|
||||||
data:
|
data:
|
||||||
entity_id: media_player.kitchenpi
|
entity_id: media_player.kitchenpi
|
||||||
- alias: IR kitchenpi.fritz.box Musik Next
|
- alias: IR kitchenpi.fritz.box Musik Next
|
||||||
|
|
|
@ -30,7 +30,7 @@ def get_config():
|
||||||
'btn_0': '[radio] Bayern 3',
|
'btn_0': '[radio] Bayern 3',
|
||||||
'key_numeric_pound': '[radio] Bayern 2',
|
'key_numeric_pound': '[radio] Bayern 2',
|
||||||
|
|
||||||
'key_red': '[scene] schlafzimmer_orange',
|
'key_red': '[scene] schlafzimmer_stillen',
|
||||||
'key_green': '[scene] schlafzimmer_rot',
|
'key_green': '[scene] schlafzimmer_rot',
|
||||||
'key_yellow': '[scene] schlafzimmer_ganz_hell',
|
'key_yellow': '[scene] schlafzimmer_ganz_hell',
|
||||||
'key_blue': '[scene] schlafzimmer_blau',
|
'key_blue': '[scene] schlafzimmer_blau',
|
||||||
|
@ -256,10 +256,15 @@ def default_music_controls(device_group, ir_host):
|
||||||
"""Default music control (play, pause, next) for Hauppauge IR"""
|
"""Default music control (play, pause, next) for Hauppauge IR"""
|
||||||
return [
|
return [
|
||||||
{
|
{
|
||||||
'alias': f'IR {ir_host} Musik Play/Pause',
|
'alias': f'IR {ir_host} Musik Play',
|
||||||
'trigger': [ir_trigger(ir_host, 'key_play'), ir_trigger(ir_host, 'key_pause')],
|
'trigger': ir_trigger(ir_host, 'key_play'),
|
||||||
'action': service('media_player.media_play_pause', device_group),
|
'action': service('media_player.media_play_pause', device_group),
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
'alias': f'IR {ir_host} Musik Pause',
|
||||||
|
'trigger': ir_trigger(ir_host, 'key_pause'),
|
||||||
|
'action': service('media_player.turn_off', device_group),
|
||||||
|
},
|
||||||
{
|
{
|
||||||
'alias': f'IR {ir_host} Musik Next',
|
'alias': f'IR {ir_host} Musik Next',
|
||||||
'trigger': [ir_trigger(ir_host, 'key_forward'), ir_trigger(ir_host, 'key_fastforward')],
|
'trigger': [ir_trigger(ir_host, 'key_forward'), ir_trigger(ir_host, 'key_fastforward')],
|
||||||
|
|
|
@ -7,6 +7,8 @@ person:
|
||||||
sun:
|
sun:
|
||||||
system_health:
|
system_health:
|
||||||
updater:
|
updater:
|
||||||
|
recorder:
|
||||||
|
logbook:
|
||||||
|
|
||||||
#input_boolean:
|
#input_boolean:
|
||||||
#input_datetime:
|
#input_datetime:
|
||||||
|
@ -17,7 +19,6 @@ updater:
|
||||||
|
|
||||||
# Uncomment this if you are using SSL/TLS, running in Docker container, etc.
|
# Uncomment this if you are using SSL/TLS, running in Docker container, etc.
|
||||||
http:
|
http:
|
||||||
base_url: https://ha.bauer.tech
|
|
||||||
|
|
||||||
homeassistant:
|
homeassistant:
|
||||||
name: MyHome
|
name: MyHome
|
||||||
|
@ -67,6 +68,9 @@ homekit:
|
||||||
include_domains:
|
include_domains:
|
||||||
- scene
|
- scene
|
||||||
|
|
||||||
|
discovery:
|
||||||
|
ignore:
|
||||||
|
- philips_hue
|
||||||
|
|
||||||
history:
|
history:
|
||||||
exclude:
|
exclude:
|
||||||
|
@ -275,20 +279,20 @@ sensor:
|
||||||
- 'date_time_iso'
|
- 'date_time_iso'
|
||||||
- 'time_date'
|
- 'time_date'
|
||||||
|
|
||||||
# - platform: history_stats
|
- platform: history_stats
|
||||||
# name: Pool Pumpe Heute
|
name: Pool Pumpe Heute
|
||||||
# entity_id: switch.pool_pumpe
|
entity_id: switch.mobile_steckdose_schalter_1
|
||||||
# type: time
|
type: time
|
||||||
# state: 'on'
|
state: 'on'
|
||||||
# start: '{{ now().replace(hour=0).replace(minute=0).replace(second=0) }}'
|
start: '{{ now().replace(hour=0).replace(minute=0).replace(second=0) }}'
|
||||||
# end: '{{ now() }}'
|
end: '{{ now() }}'
|
||||||
# - platform: history_stats
|
- platform: history_stats
|
||||||
# name: Pool Pumpe Gestern
|
name: Pool Pumpe Gestern
|
||||||
# entity_id: switch.pool_pumpe
|
entity_id: switch.mobile_steckdose_schalter_1
|
||||||
# type: time
|
type: time
|
||||||
# state: 'on'
|
state: 'on'
|
||||||
# start: '{{ as_timestamp(now().replace(hour=0).replace(minute=0).replace(second=0)) - (60*60 * 24) }}'
|
start: '{{ as_timestamp(now().replace(hour=0).replace(minute=0).replace(second=0)) - (60*60 * 24) }}'
|
||||||
# end: '{{ now().replace(hour=0).replace(minute=0).replace(second=0) }}'
|
end: '{{ now().replace(hour=0).replace(minute=0).replace(second=0) }}'
|
||||||
|
|
||||||
|
|
||||||
group: !include groups.yaml
|
group: !include groups.yaml
|
||||||
|
|
|
@ -35,6 +35,21 @@
|
||||||
state: 'off'
|
state: 'off'
|
||||||
light.schlafzimmer_schrank:
|
light.schlafzimmer_schrank:
|
||||||
state: 'off'
|
state: 'off'
|
||||||
|
- id: schlafzimmer_stillen
|
||||||
|
name: Schlafzimmer Stillen
|
||||||
|
entities:
|
||||||
|
light.bett_rebecca:
|
||||||
|
state: true
|
||||||
|
brightness: 10
|
||||||
|
xy_color:
|
||||||
|
- 0.502
|
||||||
|
- 0.414
|
||||||
|
light.schlafzimmer_deckenlampe:
|
||||||
|
state: 'off'
|
||||||
|
light.schlafzimmer_fluter:
|
||||||
|
state: 'off'
|
||||||
|
light.schlafzimmer_schrank:
|
||||||
|
state: 'off'
|
||||||
- name: Schlafzimmer Einschlaflicht
|
- name: Schlafzimmer Einschlaflicht
|
||||||
id: schlafzimmer_einschlaflicht
|
id: schlafzimmer_einschlaflicht
|
||||||
entities:
|
entities:
|
||||||
|
|
Loading…
Reference in New Issue