From c15266fc20e3ba9778182a89edae92188e1cc00b Mon Sep 17 00:00:00 2001 From: Commander1024 Date: Fri, 1 Mar 2024 15:48:28 +0100 Subject: [PATCH] Added IKEA zigbee buttons, changed hourly voice taunt. --- automations.yaml | 74 ++++++++++++++++++++++++++++++++++++++++++++++-- 1 file changed, 72 insertions(+), 2 deletions(-) diff --git a/automations.yaml b/automations.yaml index 4f9c64b..f4d74c6 100644 --- a/automations.yaml +++ b/automations.yaml @@ -479,7 +479,7 @@ variables: message: '{% set t = now().hour %} {% set m = ''Morgen'' if t < 12 else ''Nachmittag'' if t < 18 else ''Abend'' %} Guten {{m}} Marcus. Draußen sind es {{states(''sensor.aussentemperatur'')}} - Grad Celsius und es ist {{states(''sensor.time'')}} + Grad Celsius und es ist {{now().hour}} Uhr. ' mode: single @@ -777,7 +777,7 @@ domain: switch mode: single - id: '1701774106609' - alias: Wohnzimmer STYRBAR Moodlight Remote control + alias: IKEA STYRBAR Wohnzimmer description: '' use_blueprint: path: EPMatt/ikea_e2001_e2002.yaml @@ -805,6 +805,27 @@ action_button_right_short: - service: script.wled_random_palette data: {} + action_button_up_long: + - service: light.turn_on + metadata: {} + data: + brightness_pct: 10 + target: + entity_id: light.wohnzimmer_moodlight + action_button_down_long: [] + action_button_down_double: + - service: light.turn_off + target: + device_id: 9f42805af5b7e423023595390342b9ac + data: {} + action_button_up_double: + - service: light.turn_on + metadata: {} + data: {} + target: + device_id: 9f42805af5b7e423023595390342b9ac + button_up_double_press: true + button_down_double_press: true - id: '1702588441751' alias: 'Awtrix: Kalenderbenachrichtigung TKRZ' description: '' @@ -888,3 +909,52 @@ target: entity_id: humidifier.badezimmer mode: single +- id: '1708188056710' + alias: IKEA STYRBAR - Moodlight Wohnzimmer + description: IKEA STYRBAR - Moodlight Wohnzimmer + use_blueprint: + path: niro1987/zha_ikea_tradfri_styrbar_color.yaml + input: + remote: f3b032ad1f3ccc658a7d4588cc0e5c0c + light: light.wohnzimmer_moodlight +- id: '1708266692742' + alias: IKEA E1743 TRÅDFRI On/Off Switch & Dimmer + description: Wohnzimmer Leseecke + use_blueprint: + path: EPMatt/ikea_e1743.yaml + input: + integration: ZHA + controller_device: 5e9fbed0eafa1b1a54fa36195299dc6b + helper_last_controller_event: input_text.ikea_on_off_schalter_und_dimmer_wohnzimmer + action_button_up_short: + - type: turn_on + device_id: b45eb0f02b3bd91b097a4d2f225c3244 + entity_id: 8b66b0d3cd86ec0f5a48fc110f8e45e8 + domain: switch + action_button_down_short: + - type: turn_off + device_id: b45eb0f02b3bd91b097a4d2f225c3244 + entity_id: 8b66b0d3cd86ec0f5a48fc110f8e45e8 + domain: switch + action_button_up_double: + - type: turn_on + device_id: 32d15eec63fe68d5770813d47da53657 + entity_id: 14edfa97dae4936040b97dc77b171d5f + 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