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:
@@ -30,7 +30,7 @@ def get_config():
|
||||
'btn_0': '[radio] Bayern 3',
|
||||
'key_numeric_pound': '[radio] Bayern 2',
|
||||
|
||||
'key_red': '[scene] schlafzimmer_orange',
|
||||
'key_red': '[scene] schlafzimmer_stillen',
|
||||
'key_green': '[scene] schlafzimmer_rot',
|
||||
'key_yellow': '[scene] schlafzimmer_ganz_hell',
|
||||
'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"""
|
||||
return [
|
||||
{
|
||||
'alias': f'IR {ir_host} Musik Play/Pause',
|
||||
'trigger': [ir_trigger(ir_host, 'key_play'), ir_trigger(ir_host, 'key_pause')],
|
||||
'alias': f'IR {ir_host} Musik Play',
|
||||
'trigger': ir_trigger(ir_host, 'key_play'),
|
||||
'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',
|
||||
'trigger': [ir_trigger(ir_host, 'key_forward'), ir_trigger(ir_host, 'key_fastforward')],
|
||||
|
||||
@@ -7,7 +7,9 @@ person:
|
||||
sun:
|
||||
system_health:
|
||||
updater:
|
||||
|
||||
recorder:
|
||||
logbook:
|
||||
|
||||
#input_boolean:
|
||||
#input_datetime:
|
||||
#input_number:
|
||||
@@ -17,7 +19,6 @@ updater:
|
||||
|
||||
# Uncomment this if you are using SSL/TLS, running in Docker container, etc.
|
||||
http:
|
||||
base_url: https://ha.bauer.tech
|
||||
|
||||
homeassistant:
|
||||
name: MyHome
|
||||
@@ -67,6 +68,9 @@ homekit:
|
||||
include_domains:
|
||||
- scene
|
||||
|
||||
discovery:
|
||||
ignore:
|
||||
- philips_hue
|
||||
|
||||
history:
|
||||
exclude:
|
||||
@@ -275,20 +279,20 @@ sensor:
|
||||
- 'date_time_iso'
|
||||
- 'time_date'
|
||||
|
||||
# - platform: history_stats
|
||||
# name: Pool Pumpe Heute
|
||||
# entity_id: switch.pool_pumpe
|
||||
# type: time
|
||||
# state: 'on'
|
||||
# start: '{{ now().replace(hour=0).replace(minute=0).replace(second=0) }}'
|
||||
# end: '{{ now() }}'
|
||||
# - platform: history_stats
|
||||
# name: Pool Pumpe Gestern
|
||||
# entity_id: switch.pool_pumpe
|
||||
# type: time
|
||||
# state: 'on'
|
||||
# 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) }}'
|
||||
- platform: history_stats
|
||||
name: Pool Pumpe Heute
|
||||
entity_id: switch.mobile_steckdose_schalter_1
|
||||
type: time
|
||||
state: 'on'
|
||||
start: '{{ now().replace(hour=0).replace(minute=0).replace(second=0) }}'
|
||||
end: '{{ now() }}'
|
||||
- platform: history_stats
|
||||
name: Pool Pumpe Gestern
|
||||
entity_id: switch.mobile_steckdose_schalter_1
|
||||
type: time
|
||||
state: 'on'
|
||||
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) }}'
|
||||
|
||||
|
||||
group: !include groups.yaml
|
||||
|
||||
Reference in New Issue
Block a user