diff --git a/automations.yaml b/automations.yaml index 20036f6..e08d5de 100644 --- a/automations.yaml +++ b/automations.yaml @@ -145,17 +145,33 @@ action: notify.mobile_app_le2123 - data: cache: true - media_player_entity_id: media_player.raspiaudio_muse_luxe - message: 4 20 lodere es, Lustknabe + media_player_entity_id: media_player.home_assistant_voice_0a7c6b_media_player + message: '{{message}} + + ' target: entity_id: tts.piper + enabled: true action: tts.speak - data: cache: true media_player_entity_id: media_player.home_assistant_voice_09c0e7_media_player - message: 4 20 lodere es, Lustknabe + message: '{{message}} + + ' target: entity_id: tts.piper + enabled: true + action: tts.speak + - data: + cache: true + media_player_entity_id: media_player.m5stack_atom_echo + message: '{{message}} + + ' + target: + entity_id: tts.piper + enabled: true action: tts.speak - data: qos: 0 @@ -479,11 +495,10 @@ from: not_home trigger: state conditions: - - condition: sun - before: sunrise - before_offset: '+1' - after: sunset - after_offset: '-1' + - condition: numeric_state + entity_id: sun.sun + attribute: elevation + below: '5' actions: - data: {} action: script.moodlight_orange_plasma @@ -1034,26 +1049,19 @@ domain: switch action_button_up_double: - type: turn_on - device_id: 32d15eec63fe68d5770813d47da53657 - entity_id: 14edfa97dae4936040b97dc77b171d5f + device_id: 98a9eef603f8c8ae6200c4834a3dbf4f + entity_id: fdcff3852ecc17099c953da17eb4b8a3 domain: light button_up_double_press: true button_down_double_press: true action_button_down_double: - - type: turn_off - device_id: 32d15eec63fe68d5770813d47da53657 - entity_id: 14edfa97dae4936040b97dc77b171d5f - domain: light - action_button_up_long: - - type: turn_on - device_id: 98a9eef603f8c8ae6200c4834a3dbf4f - entity_id: fdcff3852ecc17099c953da17eb4b8a3 - domain: light - action_button_down_long: - type: turn_off device_id: 98a9eef603f8c8ae6200c4834a3dbf4f entity_id: fdcff3852ecc17099c953da17eb4b8a3 domain: light + action_button_up_long: [] + action_button_down_long: [] + button_up_long_max_loop_repeats: 4205 - id: '1727953214758' alias: Waschmaschine läuft description: Prüfen ob die Waschmaschine läuft, dann den boolschen Schalter "Waschmaschine @@ -1145,8 +1153,8 @@ aktiv" einschalten triggers: - type: power - device_id: 81e357077ac8d1f8f588fbb5324965b5 - entity_id: fac93f9504dc8d1267bec7d02849d491 + device_id: 25a822b76a0206496bd216235b034fb0 + entity_id: 3321a33261062dab534569c3f6f53d69 domain: sensor trigger: device above: 150 @@ -1157,8 +1165,8 @@ conditions: - condition: device type: is_on - device_id: 81e357077ac8d1f8f588fbb5324965b5 - entity_id: 2a2659668772d9345e42667900832f0e + device_id: 25a822b76a0206496bd216235b034fb0 + entity_id: 4748aace637a3f1d8b5e896236564024 domain: switch actions: - action: input_boolean.turn_on @@ -1172,11 +1180,11 @@ Uhr. triggers: - type: power - device_id: 81e357077ac8d1f8f588fbb5324965b5 - entity_id: fac93f9504dc8d1267bec7d02849d491 + device_id: 25a822b76a0206496bd216235b034fb0 + entity_id: 3321a33261062dab534569c3f6f53d69 domain: sensor trigger: device - below: 150 + below: 250 for: hours: 0 minutes: 5 @@ -1184,8 +1192,8 @@ conditions: - condition: device type: is_on - device_id: 81e357077ac8d1f8f588fbb5324965b5 - entity_id: 2a2659668772d9345e42667900832f0e + device_id: 25a822b76a0206496bd216235b034fb0 + entity_id: 4748aace637a3f1d8b5e896236564024 domain: switch - condition: state entity_id: input_boolean.waschetrockner_aktiv @@ -1363,3 +1371,23 @@ motion_cutoff: 10 illuminance_low_threshold: 10 battery_low_threshold: 20 +- id: '1772920063868' + alias: IKEA BILRESA Dual Button Küche Musik + description: '' + use_blueprint: + path: Skaronator/ikea-bilresa-dual-button.yaml + input: + button1_event: + - event.bilresa_dual_button_taste_1 + button2_event: + - event.bilresa_dual_button_taste_2 + button1_single: + - type: turn_on + device_id: 6d1be741876624a70ab5b01b54c6fd6f + entity_id: 621e4377a089b7f5d92c7c9f2cc171a1 + domain: switch + button2_single: + - type: turn_off + device_id: 6d1be741876624a70ab5b01b54c6fd6f + entity_id: 621e4377a089b7f5d92c7c9f2cc171a1 + domain: switch