Coder Social home page Coder Social logo

epmatt / awesome-ha-blueprints Goto Github PK

View Code? Open in Web Editor NEW
790.0 11.0 229.0 10.91 MB

A curated collection of automation blueprints for Home Assistant.

Home Page: https://epmatt.github.io/awesome-ha-blueprints

License: GNU General Public License v3.0

JavaScript 92.51% CSS 7.49%
home-automation home-assistant blueprints automation assistant automation-hub ha-blueprints light automation-blueprints motion

awesome-ha-blueprints's Introduction

Hi there, I'm Matteo πŸ‘‹

I'm a Software Engineer based in Zurich (Switzerland πŸ‡¨πŸ‡­), with a strong interest in cybersecurity, web development and entrepreneurship.

  • πŸ“š I’m studying for a M.Sc. in Computer Science at ETH Zurich.
  • πŸ”­ I’m mainly working on full stack web development with modern tools such as React and TypeScript.
  • 🌱 I love to help and share my knowledge and expertise with others. I enjoy working on Open Source and helping people getting the most from my contributions.
  • 🏠 My activity is usually focused but not limited to Home Assistant related projects. I'm the founder and maintainer of Awesome HA Blueprints.
  • πŸ€– I also enjoy designing complex and highly automated CI/CD pipelines with the GitHub Actions ecosystem.
  • πŸ“· I’m a free time photographer and videomaker.
  • 🎹 I love playing the piano!

Let's get in touch! πŸ“«

If you have any questions feel free to contact me here.


Support me and my work 🀝

You can show your support by as little as starring one of my open source projects. ⭐ Moreover, if you really find my work valuable and want to show your appreciation, you can support me by making a small donation here. πŸš€

yellow-button

awesome-ha-blueprints's People

Contributors

azrael-kun avatar dependabot[bot] avatar epmatt avatar gaetanars avatar iainphay avatar kingy444 avatar narmoistar avatar tonynieman avatar vandalon avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

awesome-ha-blueprints's Issues

Home Assistant 2021.4.0 warnings for undefined variables in logs (IKEA E1744 SYMFONISK rotary remote)

Bug Details

  • Blueprint name: Light Hook (in use with Controller - IKEA E1744 SYMFONISK rotary remote)
  • Home Assistant Core Version: 2021.4.0
  • Home Assistant Installation Type: Home Assistant Core on Python 3.8.3 venv on Windows 10 x64

Description
Warnings in HA logs:
2021-04-07 22:06:01 WARNING (MainThread) [homeassistant.helpers.template] Template variable warning: 'controller_device' is undefined when rendering '{{ controller_entity if controller_device == "" else controller_device }}' 2021-04-07 22:06:01 WARNING (MainThread) [homeassistant.helpers.template] Template variable warning: 'dict object' has no attribute 'brightness_up' when rendering '{{controller_mapping[controller_model_id]["brightness_up"]}}' 2021-04-07 22:06:01 WARNING (MainThread) [homeassistant.helpers.template] Template variable warning: 'dict object' has no attribute 'brightness_down' when rendering '{{controller_mapping[controller_model_id]["brightness_down"]}}' 2021-04-07 22:06:01 WARNING (MainThread) [homeassistant.helpers.template] Template variable warning: 'dict object' has no attribute 'color_up_repeat' when rendering '{{controller_mapping[controller_model_id]["color_up_repeat"]}}' 2021-04-07 22:06:01 WARNING (MainThread) [homeassistant.helpers.template] Template variable warning: 'dict object' has no attribute 'color_down_repeat' when rendering '{{controller_mapping[controller_model_id]["color_down_repeat"]}}' 2021-04-07 22:06:01 WARNING (MainThread) [homeassistant.helpers.template] Template variable warning: 'dict object' has no attribute 'turn_on' when rendering '{{controller_mapping[controller_model_id]["turn_on"]}}' 2021-04-07 22:06:01 WARNING (MainThread) [homeassistant.helpers.template] Template variable warning: 'dict object' has no attribute 'turn_off' when rendering '{{controller_mapping[controller_model_id]["turn_off"]}}' 2021-04-07 22:06:03 WARNING (MainThread) [homeassistant.helpers.template] Template variable warning: 'controller_device' is undefined when rendering '{{ controller_entity if controller_device == "" else controller_device }}' 2021-04-07 22:06:03 WARNING (MainThread) [homeassistant.helpers.template] Template variable warning: 'dict object' has no attribute 'brightness_up' when rendering '{{controller_mapping[controller_model_id]["brightness_up"]}}' 2021-04-07 22:06:03 WARNING (MainThread) [homeassistant.helpers.template] Template variable warning: 'dict object' has no attribute 'brightness_down' when rendering '{{controller_mapping[controller_model_id]["brightness_down"]}}' 2021-04-07 22:06:03 WARNING (MainThread) [homeassistant.helpers.template] Template variable warning: 'dict object' has no attribute 'color_up_repeat' when rendering '{{controller_mapping[controller_model_id]["color_up_repeat"]}}' 2021-04-07 22:06:03 WARNING (MainThread) [homeassistant.helpers.template] Template variable warning: 'dict object' has no attribute 'color_down_repeat' when rendering '{{controller_mapping[controller_model_id]["color_down_repeat"]}}' 2021-04-07 22:06:03 WARNING (MainThread) [homeassistant.helpers.template] Template variable warning: 'dict object' has no attribute 'turn_on' when rendering '{{controller_mapping[controller_model_id]["turn_on"]}}' 2021-04-07 22:06:03 WARNING (MainThread) [homeassistant.helpers.template] Template variable warning: 'dict object' has no attribute 'turn_off' when rendering '{{controller_mapping[controller_model_id]["turn_off"]}}'

To Reproduce
Steps to reproduce the behavior:
Turning the IKEA E1744 SYMFONISK.

Expected behavior
No warnings/errors in logs:)

Actual Behaviour
Controller works fine.

Additional context
https://www.home-assistant.io/blog/2021/04/07/release-20214/#warnings-for-undefined-variables-in-templates

helper_last_controller_event description

Report Details*

  • Documentation URL: link to the documentation page you are opening this report for, if applicable
  • Blueprint name: if this issue is related to a blueprint's documentation, provide the name of the related blueprint

Description*

The helper_last_controller_event should be described in the general page of the Controller automation, not in a specific controller page.

Suggested changes*

A clear and concise description of which changes you'd suggest.

Additional Details*

  • I'd like to help improving the documentation by working on this issue.

Screenshots

If applicable, add screenshots to help explain your problem.

Additional context

Add any other context about the problem here.

[BUG] Hook Media Player with IKEA E1743

Bug Details

  • Blueprint name: Controller - IKEA E1743 On/Off Switch & Dimmer + Hook Media Player
  • Home Assistant Core Version: 2021.3.4
  • Home Assistant Installation Type: Home Assistant OS

Description
When I perform an action with the mediaplayer hook to activate, I get an error in the logs and the action is not performed.
But I have a persistent notification when the action is taken.

To Reproduce

alias: Hook - Media Player - Ikea Switch
description: ''
use_blueprint:
  path: EPMatt/media_player.yaml
  input:
    controller_entity: sensor.tradfri_switch_1_action
    controller_model: IKEA E1743 On/Off Switch
    media_player: media_player.lg_webos_smart_tv
alias: Controller - IKEA E1743 On/Off Switch & Dimmer
description: ''
use_blueprint:
  path: EPMatt/ikea_e1743.yaml
  input:
    integration: Zigbee2MQTT
    zigbee2mqtt_remote: sensor.tradfri_switch_1_action
    action_up_short:
      - service: notify.persistent_notification
        data:
          message: Ikea switch - Up button - short press
    helper_last_loop_event_input: input_text.tradfri_switch
    action_up_double:
      - service: notify.persistent_notification
        data:
          message: Ikea switch - Up button - double press
    action_up_long:
      - service: notify.persistent_notification
        data:
          message: Ikea switch - Up button - long press
    action_up_release:
      - service: notify.persistent_notification
        data:
          message: Ikea switch - Up button - release after long press
    action_down_short:
      - service: notify.persistent_notification
        data:
          message: Ikea switch - Down button - short press
    action_down_double:
      - service: notify.persistent_notification
        data:
          message: Ikea switch - Down button - double press
    action_down_long:
      - service: notify.persistent_notification
        data:
          message: Ikea switch - Down button - long press
    action_down_release:
      - service: notify.persistent_notification
        data:
          message: Ikea switch - Down button - release after long press
    button_up_double_press: true
    button_down_double_press: true

Additional context

ERROR (MainThread) [homeassistant.components.automation.hook_media_player_ikea_switch] Error rendering variables: UndefinedError: 'dict object' has no attribute ''

[BUG] 5-Button Remote No Longer works with Media Player Hook

Bug Details

  • Blueprint name: ikea_e1524_e1810.yaml (IKEA 5-Button Remote) & media_player.yaml
  • Home Assistant Core Version: 2021.3.4
  • Home Assistant Installation Type Home Assistant Core on Debian Bullseye
  • I'm using the ZHA integration

Description

The 5-Button Remote Controller no longer triggers the media player hook.

Additional context

It looks like the commit that broke things for me is 5938d7e. In particular I think my controller does not support the change of the ZHA action mappings, e.g. button_left_short was [press_257_13_0] and is now just ['on']; with the event listener I only see a zha_event with command press and args [257, 13, 0], but no on event.

Controller blueprint for OSRAM Smart+ Switch Mini

Thank you for taking the time to report here! πŸŽ‰

Please don't delete any part of the template, since keeping the provided structure will help maintainers to process your request more rapidly.

This template should only be used to propose a new blueprint. If this is not your case, you can choose a different issue template. If you have a question instead, please open a discussion here.

*=required

Description*

Controller blueprint for the OSRAM Smart+ Switch Mini (AC025XX00NJ).

The controller comes in different colors, with different model names: AC0251100NJ / AC0251400NJ / AC0251600NJ / AC0251700NJ.

Suggestion received on the HA Community Forum.

Additional Details*

IKEA E1812 Deconz not working

Thank you for taking the time to report here! πŸŽ‰

Please don't delete any part of the template, since keeping the provided structure will help maintainers to process your request more rapidly.

This template should only be used to report a bug with a blueprint. If this is not your case, you can choose a different issue template. If you have a question instead, please open a discussion here.

*=required

Bug Details*

  • Blueprint name: EPMatt/ikea_e1812.yaml
  • Home Assistant Core Version: 2021.4.6
  • Home Assistant Installation Type: Home Assistant Supervised

Description*

I have configured the controller for the e1812 with some simple actions (running a script) but it seems that the controller is not executing the configured actions.

Automation YAML config*

alias: '[IKEA-Shortcut] Controller - Bertha Wohnzimmer saugen'
description: Lass Bertha das Wohnzimmer saugen
use_blueprint:
  path: EPMatt/ikea_e1812.yaml
  input:
    integration: deCONZ
    controller_device: 5c2adad9f497010a5d1cc7244401f1c8
    action_button_short:
      - service: script.bertha_wohnzimmer_saugen
      - condition: device
        device_id: cf31adae6946b68dc5796a8cfdf8606b
        domain: vacuum
        entity_id: vacuum.bertha
        type: is_cleaning
      - service: vacuum.pause
        target:
          entity_id: vacuum.bertha
    action_button_long:
      - service: script.bertha_stop
    action_button_double:
      - device_id: cf31adae6946b68dc5796a8cfdf8606b
        domain: vacuum
        entity_id: vacuum.bertha
        type: dock
    button_double_press: false

To Reproduce*

Steps to reproduce the issue:

  1. Create a new automation from the blueprint
  2. Add some actions
  3. Trigger the automation
  4. See that nothing happens

Expected behavior*

I would expect that the configured actions are running

Actual Behaviour*

Sscipts are not executed

Additional Details*

Calling the scripts without the automation is working as expected

Screenshots

image

Additional context

New Controller - IKEA E1766

Manufacturer

IKEA

Model

E1766

Short Description

TRΓ…DFRI Open/Close Remote

Image

Ikea_E1766

Actions

[deCONZ]

  • 1002: click up
  • 2002: click down
  • 1003: release up
  • 2003: release down

[ZHA]

  • up_open: click up
  • down_close: click down
  • stop: release up/down

[Zigbee2MQTT]

  • open: click up
  • close: click down
  • stop: release up/down

Additional Details

  • I'd like to help developing this blueprint.

Useful resources

Request received from the Home Assistant Community Forum:
https://community.home-assistant.io/t/zha-deconz-zigbee2mqtt-ikea-e1743-on-off-switch-dimmer-universal-blueprint-all-actions-double-click-events-control-lights-media-players-and-more-with-hooks/277861/60

Additional context

No response

Bug - E1743 automation not triggering on first single click

Blueprint name

IKEA E1743 On/Off Switch & Dimmer

Home Assistant Core Version

core-2021.9.6

Home Assistant Installation Type

Home Assistant Operating System

Description

Ciao,

I'm using the blueprint for E1743 to trigger state change on the IKEA plug (https://www.ikea.com/it/it/p/tradfri-kit-presa-e-telecomando-30364800/), so basically turning on/off a lamp connected to the plug.
I was able to configure the E1743 to simply turn off and on the plug using a single click, but I noticed that sometimes I have to repeat 2-4 times the click in order to change the lamp state.
Link quality of the E1743 is good (255) and it's near the Zigbee IKEA plug (it acts as router), I don't suppose it's a link quality issue.
I'm using zigbee2mqtt. I'm attaching the registry of HA, which shows that the "click" seems to be received by HA, but not processed via automation till the 3rd ON click.
Thanks!

Automation YAML config

alias: IKEA E1743 On/Off Lampada Salone
description: ''
use_blueprint:
  path: EPMatt/ikea_e1743.yaml
  input:
    integration: Zigbee2MQTT
    helper_last_controller_event: input_text.stato_lampada_salone
    action_button_up_short:
      - type: turn_on
        device_id: 746b1c32cdd8959aaa0fedaad8dc7605
        entity_id: switch.lampada_salone
        domain: switch
    action_button_down_short:
      - type: turn_off
        device_id: 746b1c32cdd8959aaa0fedaad8dc7605
        entity_id: switch.lampada_salone
        domain: switch
    controller_entity: sensor.pulsante_ikea_salone_action

To Reproduce

  1. Click on/off on the E1743
  2. Repeat the click until the plug status change is performed

Expected behavior

Immediate change of status.

Actual Behaviour

I need to click on/off 2-3 times before the automation is triggered.

Additional Details

  • I'd like to help developing a fix for this issue.

Screenshots

image

Additional context

No response

IKEA E1810 long press keeps looping with Light controller-hook

Thank you for taking the time to report here! πŸŽ‰

Please don't delete any part of the template, since keeping the provided structure will help maintainers to process your request more rapidly.

This template should only be used to report a bug with a blueprint. If this is not your case, you can choose a different issue template. If you have a question instead, please open a discussion here.

*=required

Bug Details*

  • Blueprint name: Hook - Light + Controller - IKEA E1524/E1810 5-Button Remote
  • Home Assistant Core Version: 2021.6.5
  • Home Assistant Installation: Type Home Assistant OS

Description*

I create an automation for an IKEA E1810 5-Button remote and use the Light hook to control an IKEA TRADFRI bulb E27 CWS opal 600lm. The automation should change hue/sat when pressing left/right and changing brightness when pressing up/down. This works, except when holding the left or right button. Even when holding for 1 second the automation does not seem to catch the release of the button because it keeps changing the light color enlessly. Short pressing the same button ends the loop.

Automation YAML config*

The automation for the controller:

alias: IKEA RGB CWS with 5-Button Remote (TEMP)
description: ''
use_blueprint:
  path: EPMatt/ikea_e1524_e1810.yaml
  input:
    integration: ZHA
    controller_device: 2db9252e1f360e9a01449e49cd29db3d
    helper_last_controller_event: input_text.ikea_5_button_remote_1
    button_left_long_max_loop_repeats: 10
    button_right_long_max_loop_repeats: 10
    button_up_long_max_loop_repeats: 10
    button_down_long_max_loop_repeats: 10
    button_down_long_loop: true
    button_up_long_loop: true
    button_right_long_loop: true
    button_left_long_loop: true

The automation for the light:

alias: Hook - Light
description: ''
use_blueprint:
  path: EPMatt/light.yaml
  input:
    light_color_mode: Hue - Saturation
    controller_device: 2db9252e1f360e9a01449e49cd29db3d
    controller_model: IKEA E1524/E1810 5-Button remote
    light: >-
      light.ikea_of_sweden_tradfri_bulb_e27_cws_opal_600lm_60ea21fe_level_light_color_on_off
    smooth_power_off: false

To Reproduce*

Steps to reproduce the issue:

  1. Center press the controller to turn on the light: the light turns on
  2. One of multiple short press left or right: the color changes in small steps
  3. Long press left or right (1 or 2 seconds): the color keeps changing
  4. Short press left or right: the color change cycle stops

Expected behavior*

The color should change while holding down the left or right button but should immediately stop changing when letting go of that button.

Actual Behaviour*

The color of the light keeps changing.

Additional Details*

When short pressing the right button the entity for Helper - Last Controller Event gets a single update:

{"trigger_action": "press_256_13_0", "last_triggered": "2021-06-20 09:26:55.527544+02:00"}

When long pressing the right button it gets two updates,

{"trigger_action": "hold_3328_0", "last_triggered": "2021-06-20 09:28:16.288400+02:00"}
{"trigger_action": "release_1159", "last_triggered": "2021-06-20 09:28:17.450062+02:00"}

So it looks like the release is not correctly processed by the automation?

I did try the remove battery for a few minutes trick, but that did not solve the behavior.

Screenshots

If applicable, add screenshots to help explain your problem.

Additional context

Add any other context about the problem here.

KEA E1744 SYMFONISK Rotary Remote automation does not complete when knob is rotated due to an error: not a valid value for dictionary value @ data['entity_id']

Bug Details*

  • Blueprint name: Controller - IKEA E1744 SYMFONISK Rotary Remote
  • Home Assistant Core Version: Home Assistant 2021.6.6
  • Home Assistant Installation Type: Supervised

Description*

Given:

  • An automation created from the blueprint
  • With a deCONZ integration selected
  • The Symfonisk (E1744) controller selected as the device
  • With (Optional) Rotate left/right set to call a service to trigger media volume down/up

When rotating the knob left or right, the automation does not complete. Viewing the logs shows an error message: Stopped because an error was encountered at July 1, 2021, 5:10:55 PM (runtime: 0.01 seconds) not a valid value for dictionary value @ data['entity_id']

Automation YAML config*

variables:
  integration: deCONZ
  rotate_left_loop: true
  rotate_left_max_loop_repeats: 500
  rotate_right_loop: true
  rotate_right_max_loop_repeats: 500
  helper_last_controller_event: ''
  helper_debounce_delay: 0
  integration_id: '{{ integration | lower }}'
  actions_mapping:
    deconz:
      rotate_left:
        - '3001'
      rotate_stop:
        - '3003'
        - '2003'
      rotate_right:
        - '2001'
      click_short:
        - '1002'
      click_double:
        - '1004'
      click_triple:
        - '1005'
    zha:
      rotate_left:
        - move_1_195
      rotate_stop:
        - stop
      rotate_right:
        - move_0_195
      click_short:
        - toggle
      click_double:
        - step_0_1_0
      click_triple:
        - step_1_1_0
    zigbee2mqtt:
      rotate_left:
        - brightness_move_down
      rotate_stop:
        - brightness_stop
      rotate_right:
        - brightness_move_up
      click_short:
        - toggle
      click_double:
        - brightness_step_up
      click_triple:
        - brightness_step_down
  rotate_left: '{{ actions_mapping[integration_id]["rotate_left"] }}'
  rotate_stop: '{{ actions_mapping[integration_id]["rotate_stop"] }}'
  rotate_right: '{{ actions_mapping[integration_id]["rotate_right"] }}'
  click_short: '{{ actions_mapping[integration_id]["click_short"] }}'
  click_double: '{{ actions_mapping[integration_id]["click_double"] }}'
  click_triple: '{{ actions_mapping[integration_id]["click_triple"] }}'
  controller_entity: ''
  controller_device: 57ba1b10e54e251531b3681244a36510
  controller_id: >-
    {% if integration_id=="zigbee2mqtt" %}{{controller_entity}}{% else
    %}{{controller_device}}{% endif %}
mode: restart
max_exceeded: silent
trigger:
  - platform: event
    event_type: state_changed
    event_data:
      entity_id: ''
  - platform: event
    event_type:
      - zha_event
      - deconz_event
    event_data:
      device_id: 57ba1b10e54e251531b3681244a36510
condition:
  - condition: and
    conditions:
      - >-
        {%- set trigger_action -%} {%- if integration_id == "zigbee2mqtt" -%} {{
        trigger.event.data.new_state.state }} {%- elif integration_id ==
        "deconz" -%} {{ trigger.event.data.event }} {%- elif integration_id ==
        "zha" -%} {{ trigger.event.data.command }}{{"_" if
        trigger.event.data.args|length > 0}}{{ trigger.event.data.args|join("_")
        }} {%- endif -%} {%- endset -%} {{ trigger_action not in ["","None"] }}
      - >-
        {{ integration_id != "zigbee2mqtt" or trigger.event.data.new_state.state
        != trigger.event.data.old_state.state }}

To Reproduce*

Steps to reproduce the issue:

  1. With the automation installed
  2. Rotate knob left or tight
  3. Navigate to automations
  4. Edit the automation and select show trace
  5. Click on the trace timeline tab
  6. Note the error mentioned in the description of this bug report.

Expected behaviour*

When I rotate the knob, the service should be called successfully and my media device volume should change

Actual Behaviour*

when I rotate the knob, an error occurs and the volume does not change.

The logs report:

2021-07-01 17:16:13 ERROR (MainThread) [homeassistant.helpers.template] Template variable error: 'dict object' has no attribute 'event' when rendering '{%- if integration_id == "zigbee2mqtt" -%} {{ trigger.event.data.new_state.state }} {%- elif integration_id == "deconz" -%} {{ trigger.event.data.event }} {%- elif integration_id == "zha" -%} {{ trigger.event.data.command }}{{"_" if trigger.event.data.args|length > 0}}{{ trigger.event.data.args|join("_") }} {%- endif -%}'
2021-07-01 17:16:13 ERROR (MainThread) [homeassistant.components.automation.controller_ikea_e1744_symfonisk_rotary_remote_3] Controller - IKEA E1744 SYMFONISK Rotary Remote: Error executing script. Error rendering template for variables at pos 2: UndefinedError: 'dict object' has no attribute 'event'
2021-07-01 17:16:13 ERROR (MainThread) [homeassistant.components.automation.controller_ikea_e1744_symfonisk_rotary_remote_3] Error while executing automation automation.controller_ikea_e1744_symfonisk_rotary_remote_3: UndefinedError: 'dict object' has no attribute 'event'
2021-07-01 17:16:34 ERROR (MainThread) [homeassistant.components.automation.controller_ikea_e1744_symfonisk_rotary_remote_3] Controller - IKEA E1744 SYMFONISK Rotary Remote: Error executing script. Invalid data for call_service at pos 3: not a valid value for dictionary value @ data['entity_id']
2021-07-01 17:16:34 ERROR (MainThread) [homeassistant.components.automation.controller_ikea_e1744_symfonisk_rotary_remote_3] Error while executing automation automation.controller_ikea_e1744_symfonisk_rotary_remote_3: not a valid value for dictionary value @ data['entity_id']
2021-07-01 17:16:35 ERROR (MainThread) [homeassistant.components.automation.controller_ikea_e1744_symfonisk_rotary_remote_3] Controller - IKEA E1744 SYMFONISK Rotary Remote: Error executing script. Invalid data for call_service at pos 3: not a valid value for dictionary value @ data['entity_id']
2021-07-01 17:16:35 ERROR (MainThread) [homeassistant.components.automation.controller_ikea_e1744_symfonisk_rotary_remote_3] Error while executing automation automation.controller_ikea_e1744_symfonisk_rotary_remote_3: not a valid value for dictionary value @ data['entity_id']

The event data looks like:

Event 1 fired 7:44 PM:
{
    "event_type": "deconz_event",
    "data": {
        "id": "black_knob_1",
        "unique_id": "bc:33:ac:ff:fe:a2:4c:e8",
        "event": 3003,
        "device_id": "57ba1b10e54e251531b3681244a36510"
    },
    "origin": "LOCAL",
    "time_fired": "2021-07-01T09:44:52.321676+00:00",
    "context": {
        "id": "ebe591fa1094e8f37c2ab31384ff7ef5",
        "parent_id": null,
        "user_id": null
    }
}
Event 0 fired 7:44 PM:
{
    "event_type": "deconz_event",
    "data": {
        "id": "black_knob_1",
        "unique_id": "bc:33:ac:ff:fe:a2:4c:e8",
        "event": 3001,
        "device_id": "57ba1b10e54e251531b3681244a36510"
    },
    "origin": "LOCAL",
    "time_fired": "2021-07-01T09:44:52.048475+00:00",
    "context": {
        "id": "f8a4470e809830e63dcbe1f871a1565a",
        "parent_id": null,
        "user_id": null
    }
}

Additional Details*

  • I'd like to help developing a fix for this issue.
    I have no experience working with homeassistant, but I have experience troubleshooting and writing software, so I'm happy to help out where I can.

Screenshots

image

Additional context

Add any other context about the problem here.

Docs - Add FAQ section in the generic Controllers-Hooks documentation

Documentation URL

https://epmatt.github.io/awesome-ha-blueprints/docs/controllers-hooks-ecosystem

Blueprint name

No response

Description

The general Controller-Hooks documentation does not include a FAQ section.

Suggested changes

It might be interesting to add a FAQ section to this doc page, which could then be referenced in the doc pages for individual controllers and hooks.

The section might include answers to the following questions:

  • Controllers
    • I'm getting the error "not a valid value for dictionary value @ data['entity_id']" and the automation is not running
    • I added double press custom actions but they are not triggered when interacting with the device
    • When double pressing, the short press action gets executed instead
    • My custom actions and hooks get triggered multiple times
  • Hooks
    • My controller automation gets triggered, but the linked hook does not

Additional Details

  • I'd like to help improving the documentation by working on this issue.

Screenshots

No response

Additional context

No response

Support zigbee2mqtt native button press counter for Phillips Hue dimmer switch

Blueprint name: philips_324131092621

zigbee2mqtt natively includes a button press count in the state it sends to Home Assistant for the Phillips Hue dimmer switch (324131092621). This could be used for detecting double presses.

Here is an example Home Assistant event on a double press. Note the counter field.

{
    "event_type": "state_changed",
    "data": {
        "entity_id": "sensor.front_bedroom_switch_hue_action",
        "old_state": {
            "entity_id": "sensor.front_bedroom_switch_hue_action",
            "state": "",
            "attributes": {
                "action": "",
                "battery": 100,
                "brightness": 255,
                "counter": 1,
                "linkquality": 81,
                "update": {
                    "state": "available"
                },
                "update_available": true,
                "friendly_name": "front_bedroom_switch_hue_action",
                "icon": "mdi:gesture-double-tap"
            },
            "last_changed": "2021-03-31T19:23:27.559882+00:00",
            "last_updated": "2021-03-31T19:23:27.559882+00:00",
            "context": {
                "id": "4da0b7b4135ae48746b90d6c1854dfe5",
                "parent_id": null,
                "user_id": null
            }
        },
        "new_state": {
            "entity_id": "sensor.front_bedroom_switch_hue_action",
            "state": "",
            "attributes": {
                "action": "on-press",
                "battery": 100,
                "brightness": 255,
                "counter": 2,
                "duration": 0,
                "linkquality": 84,
                "update": {
                    "state": "available"
                },
                "update_available": true,
                "friendly_name": "front_bedroom_switch_hue_action",
                "icon": "mdi:gesture-double-tap"
            },
            "last_changed": "2021-03-31T19:23:27.559882+00:00",
            "last_updated": "2021-03-31T19:23:57.111797+00:00",
            "context": {
                "id": "1f5150192cead565b99d846442a213ab",
                "parent_id": null,
                "user_id": null
            }
        }
    },
    "origin": "LOCAL",
    "time_fired": "2021-03-31T19:23:57.111797+00:00",
    "context": {
        "id": "1f5150192cead565b99d846442a213ab",
        "parent_id": null,
        "user_id": null
    }
}

Light hook - support for adaptive lighting

Thank you for taking the time to report here! πŸŽ‰

Please don't delete any part of the template, since keeping the provided structure will help maintainers to process your request more rapidly.

This template should only be used to propose a new feature or enhancement for an existing blueprint. If this is not your case, you can choose a different issue template. If you have a question instead, please open a discussion here.

*=required

Details*

  • Blueprint name: Light hook

Description*

I'd like to add support for turning on lights with adaptive lighting applied on turning on lights

Automation YAML config

Adaptive lighting listens for tuning on lights and applies necessary changes, but it leaves a second or two of previous light setting before fix comes in. In order to start light with appropriate settings (so, no lag or wrong light when turning on) You need to execute light.turn_on with few templatable params

    - service: light.turn_on
      target:
        entity_id: light.all_lights_in_toilet
      data:
        color_temp: >-
          {{ state_attr('switch.adaptive_lighting_toilet', 'color_temp_mired') |int }}
        brightness_pct: >-
          {{ state_attr('switch.adaptive_lighting_toilet', 'brightness_pct') |int }}

Implementation

It would be great to offer another input in hook blueprint- entity of adaptive lighting switch.
If it is provided, use state_attr of that switch to set initial lighting values.

Additional Details*

  • I'd like to help developing this feature/improvement.
  • I've found a blueprint/automation not included in this project which achieves the same/similar goal

Additional context

It would be great to support adaptive-lighting, because getting blasted by 01:00PM light when you go to toilet at 02:30 AM is a little unpleasant experience. Normally I should close my eyes for a second or so, until adaptive lighting changes lighting params. This can be avoided by starting lights properly on turning on.

Proposal -

Description

Yeelight Rotary Dimmer YLKG07YL/YLKG08YL would be nice.

Implementation

No response

Additional Details

  • I'd like to help developing this blueprint.

Useful resources

No response

Additional context

No response

IKEA E1812 Shortcut button double press does not work

Bug Details

  • Blueprint name: IKEA E1812 Shortcut button
  • Home Assistant Core Version: 2021.3.4
  • Home Assistant Installation Type: Homeassistant OS on Home-Assistant blue

Description
Double press does nothing, i have setup the helper, and I do see the helper being filled for 1 second and then cleared again.

To Reproduce
Setup double press automation with E1812 on 2021.3.4 and try a double click.

Expected behavior
Execute the event configured with double press

Actual Behaviour
I don't get any error. I see that after 1 second the normal single press command is executed.

Additional context
My config

  alias: Controller - IKEA E1812 Shortcut button
  description: ''
  use_blueprint:
    path: EPMatt/ikea_e1812.yaml
    input:
      integration: deCONZ
      controller_device: 118a7da2e7cca4bbc73b6a535ccf09c7
      action_button_double:
      - service: light.toggle
        data: {}
        target:
          entity_id: light.woonkamer
      button_double_press: true
      helper_last_controller_event: input_text.woonkamer_shortcut_button_test
      action_button_short:
      - service: light.toggle
        data: {}
        target:
          entity_id: light.plafondlamp_woonkamer

Enhancement - Hook with selectable media players

Blueprint name

Media Player Hook for rotary controllers (could apply to lights too).

Description

Currently the Controller - IKEA E1744 SYMFONISK Rotary Remote together with Hook - Media Player allow controlling only one fixed media player which can be chosen when creating the automation from the blueprint.

It would be nice, with the addition of an input_select to pre-select on the fly which media player we want to actually control. This could be useful for multiroom systems which actually appear as different media players for each room, but the user would like to be able to choose that the actual rotary controller would apply to which media player.

Use case: I take the controller with me to Room 1, I want the controller to operate there with me as we spend time there. Later, we move back to Room 2, let me back to operate in the new location.
Could apply to dimming lights too for setting only the level preset, having local controls only for on/off.

Automation YAML config

- service: media_player.volume_up
        entity_id: >
            {% if is_state("input_select.media_players_list", "Room 1") %}
              media_player.sound_room_1
            {%-elif is_state("input_select.media_players_list", "Room 2") %}
              media_player.sound_room_2
            {%-elif is_state("input_select.media_players_list", "Room 3") %}
              media_player.sound_room_3
            {%-elif is_state("input_select.media_players_list", "Room 4") %}
              media_player.sound_room_4
            {%-elif is_state("input_select.media_players_list", "Room 5") %}
              media_player.sound_room_5
            {% endif %}

Implementation

No response

Additional Details

  • I'd like to help developing this feature/improvement.

Useful resources

No response

Additional context

No response

[BUG] lights hook - color temperature not available from color mode selection

Bug Details

  • Blueprint name: Hook - Light
  • Home Assistant Core Version: 2021.3.4
  • Home Assistant Installation Type: Home Assistant OS

Description
Home Assistant Visual Editor for Automation based on Hook - Lights does not list the option 'Color Temperature' in the '(Optional) Light color mode' pull down. Looking at the light.yaml line 51-54 the option is not included.

To Reproduce
Steps to reproduce the behavior:

  1. Go to 'Edit Automation'
  2. Click on 'Pull down menu 'Light color mode'
  3. Option 'Color Temperature' is not available for selection

Expected behavior
Option 'Color Temperature' can be selected

Actual Behaviour
Option 'Color Temperature' is not available

Additional context
Editing my light.yaml file and adding the option 'Color Temperature' under the light_color_mode selector works with E1810 remote and IKEA Leptiter lights (deCONZ).

New Controller - Sonoff contact sensor SNZB-04

Thank you for taking the time to report here! πŸŽ‰

Please don't delete any part of the template, since keeping the provided structure will help maintainers to process your request more rapidly.

This template should only be used to propose support for a a new Controller blueprint. If this is not your case, you can choose a different issue template. If you have a question instead, please open a discussion here.

*=required

Controller Information*

Actions

If possible, provide here mappings for actions which can be triggered with this controller.
Specify the integration these mappings refer to. If you want to provide mappings for multiple integrations, you can duplicate the following section as needed.

[Integration] (e.g. deCONZ, ZHA, Zigbee2MQTT)

Zigbee2MQTT: https://www.zigbee2mqtt.io/devices/SNZB-04.html
deCONZ: dresden-elektronik/deconz-rest-plugin#3036
https://zigbee.blakadder.com/Sonoff_SNZB-04.html

  • contact: binary sensor (closed = both elements nearby, open = elements are far from each other)

Additional Details*

  • I'd like to help developing this blueprint
  • I've found a blueprint/automation not included in this project which integrates this controller

Additional context

Looks like refresh rate of this device is pretty low.

Osram Switch Mini (button_center_double_press)

Thank you for taking the time to report here! πŸŽ‰

Please don't delete any part of the template, since keeping the provided structure will help maintainers to process your request more rapidly.

This template should only be used to report a bug with a blueprint. If this is not your case, you can choose a different issue template. If you have a question instead, please open a discussion here.

*=required

Bug Details*

  • Blueprint name: Controller - Osram SMART+ Switch Mini
  • Home Assistant Core Version: 2021.6.5
  • Home Assistant Installation Type: Home Assistant Supervised

Description*

I tried the blueprint with Osram Smart + Switch Mini and it works very well, the only feature that is not right is the double middle button. I tried with 2 mini switches and it does the same thing, it doesn't perform the action.

Automation YAML config*

- alias: Osram Switch Camera
  description: ''
  use_blueprint:
    path: EPMatt/osram_ac025xx00nj.yaml
    input:
      integration: ZHA
      controller_device: 329556686e830cb76d019012e8664378
      action_button_up_double:
      - type: turn_on
        device_id: fb31e5b6e32e2a33b2fe8e53614af58c
        entity_id: switch.presa_iphone
        domain: switch
      action_button_center_double:
      - type: toggle
        device_id: fb31e5b6e32e2a33b2fe8e53614af58c
        entity_id: switch.presa_iphone
        domain: switch
      action_button_down_double:
      - type: turn_off
        device_id: fb31e5b6e32e2a33b2fe8e53614af58c
        entity_id: switch.presa_iphone
        domain: switch
      button_up_double_press: true
      button_center_double_press: true
      button_down_double_press: true
      helper_last_controller_event: input_text.prova

To Reproduce*

Steps to reproduce the issue:

  1. Go to '...'
  2. Click on '....'
  3. Trigger the automation '....'
  4. See error

Expected behavior*

A clear and concise description of what you expected to happen.

Actual Behaviour*

The double up button works
The double down button works
The double center button does not work

Even with the same action.

Additional Details*

  • I'd like to help developing a fix for this issue.

Screenshots

If applicable, add screenshots to help explain your problem.

Additional context

Add any other context about the problem here.

New Controller - Philips Hue Dimmer Switch (Model no.324131137411)

Thank you for taking the time to report here! πŸŽ‰

Please don't delete any part of the template, since keeping the provided structure will help maintainers to process your request more rapidly.

This template should only be used to propose support for a a new Controller blueprint. If this is not your case, you can choose a different issue template. If you have a question instead, please open a discussion here.

*=required

Controller Information*

  • Manufacturer: Philips
  • Model: 324131137411
  • Short Description: Philips Hue Dimmer Switch
  • Image: TBD

Actions

ZHA

short press events:

Event 11 fired 8:50 AM:
{
    "event_type": "zha_event",
    "data": {
        "device_ieee": "00:17:88:01:04:e7:01:f5",
        "unique_id": "00:17:88:01:04:e7:01:f5:2:0xfc00",
        "device_id": "3650af3c4f7da75b9062b2f3f71d2afb",
        "endpoint_id": 2,
        "cluster_id": 64512,
        "command": "up_press",
        "args": {
            "button": "up",
            "press_type": "press",
            "command_id": 0,
            "args": [
                2,
                3145728,
                0,
                33,
                0,
                0
            ]
        }
    },
    "origin": "LOCAL",
    "time_fired": "2021-05-19T06:50:23.245744+00:00",
    "context": {
        "id": "e7b5d6ffacfb9d898092c513e390123d",
        "parent_id": null,
        "user_id": null
    }
}
Event 10 fired 8:50 AM:
{
    "event_type": "zha_event",
    "data": {
        "device_ieee": "00:17:88:01:04:e7:01:f5",
        "unique_id": "00:17:88:01:04:e7:01:f5:2:0xfc00",
        "device_id": "3650af3c4f7da75b9062b2f3f71d2afb",
        "endpoint_id": 2,
        "cluster_id": 64512,
        "command": "up_short_release",
        "args": {
            "button": "up",
            "press_type": "short_release",
            "command_id": 0,
            "args": [
                2,
                3145728,
                2,
                33,
                2,
                0
            ]
        }
    },
    "origin": "LOCAL",
    "time_fired": "2021-05-19T06:50:23.225644+00:00",
    "context": {
        "id": "1e08b5b0b2dd7baef17707d2360dd8e3",
        "parent_id": null,
        "user_id": null
    }
}
Event 9 fired 8:50 AM:
{
    "event_type": "zha_event",
    "data": {
        "device_ieee": "00:17:88:01:04:e7:01:f5",
        "unique_id": "00:17:88:01:04:e7:01:f5:1:0x0008",
        "device_id": "3650af3c4f7da75b9062b2f3f71d2afb",
        "endpoint_id": 1,
        "cluster_id": 8,
        "command": "step",
        "args": [
            0,
            30,
            9
        ]
    },
    "origin": "LOCAL",
    "time_fired": "2021-05-19T06:50:22.867376+00:00",
    "context": {
        "id": "181163ff298574a5c64bf841091514d4",
        "parent_id": null,
        "user_id": null
    }
}
Event 8 fired 8:50 AM:
{
    "event_type": "zha_event",
    "data": {
        "device_ieee": "00:17:88:01:04:e7:01:f5",
        "unique_id": "00:17:88:01:04:e7:01:f5:2:0xfc00",
        "device_id": "3650af3c4f7da75b9062b2f3f71d2afb",
        "endpoint_id": 2,
        "cluster_id": 64512,
        "command": "down_press",
        "args": {
            "button": "down",
            "press_type": "press",
            "command_id": 0,
            "args": [
                3,
                3145728,
                0,
                33,
                0,
                0
            ]
        }
    },
    "origin": "LOCAL",
    "time_fired": "2021-05-19T06:50:21.309734+00:00",
    "context": {
        "id": "f63dda4ef7969c04afe98bf472c730f2",
        "parent_id": null,
        "user_id": null
    }
}
Event 7 fired 8:50 AM:
{
    "event_type": "zha_event",
    "data": {
        "device_ieee": "00:17:88:01:04:e7:01:f5",
        "unique_id": "00:17:88:01:04:e7:01:f5:2:0xfc00",
        "device_id": "3650af3c4f7da75b9062b2f3f71d2afb",
        "endpoint_id": 2,
        "cluster_id": 64512,
        "command": "down_short_release",
        "args": {
            "button": "down",
            "press_type": "short_release",
            "command_id": 0,
            "args": [
                3,
                3145728,
                2,
                33,
                3,
                0
            ]
        }
    },
    "origin": "LOCAL",
    "time_fired": "2021-05-19T06:50:21.300475+00:00",
    "context": {
        "id": "4a8d872760e50425d489331574a21c2d",
        "parent_id": null,
        "user_id": null
    }
}
Event 6 fired 8:50 AM:
{
    "event_type": "zha_event",
    "data": {
        "device_ieee": "00:17:88:01:04:e7:01:f5",
        "unique_id": "00:17:88:01:04:e7:01:f5:1:0x0008",
        "device_id": "3650af3c4f7da75b9062b2f3f71d2afb",
        "endpoint_id": 1,
        "cluster_id": 8,
        "command": "step",
        "args": [
            1,
            30,
            9
        ]
    },
    "origin": "LOCAL",
    "time_fired": "2021-05-19T06:50:20.916526+00:00",
    "context": {
        "id": "0ea95a6555319c8cd0373e4dc1c413e7",
        "parent_id": null,
        "user_id": null
    }
}
Event 5 fired 8:50 AM:
{
    "event_type": "zha_event",
    "data": {
        "device_ieee": "00:17:88:01:04:e7:01:f5",
        "unique_id": "00:17:88:01:04:e7:01:f5:2:0xfc00",
        "device_id": "3650af3c4f7da75b9062b2f3f71d2afb",
        "endpoint_id": 2,
        "cluster_id": 64512,
        "command": "off_press",
        "args": {
            "button": "off",
            "press_type": "press",
            "command_id": 0,
            "args": [
                4,
                3145728,
                0,
                33,
                0,
                0
            ]
        }
    },
    "origin": "LOCAL",
    "time_fired": "2021-05-19T06:50:17.890579+00:00",
    "context": {
        "id": "977faba91b943fcae77304be35e69409",
        "parent_id": null,
        "user_id": null
    }
}
Event 4 fired 8:50 AM:
{
    "event_type": "zha_event",
    "data": {
        "device_ieee": "00:17:88:01:04:e7:01:f5",
        "unique_id": "00:17:88:01:04:e7:01:f5:2:0xfc00",
        "device_id": "3650af3c4f7da75b9062b2f3f71d2afb",
        "endpoint_id": 2,
        "cluster_id": 64512,
        "command": "off_short_release",
        "args": {
            "button": "off",
            "press_type": "short_release",
            "command_id": 0,
            "args": [
                4,
                3145728,
                2,
                33,
                1,
                0
            ]
        }
    },
    "origin": "LOCAL",
    "time_fired": "2021-05-19T06:50:17.769604+00:00",
    "context": {
        "id": "4188447a0fc6da6e925502b1efaa9a03",
        "parent_id": null,
        "user_id": null
    }
}
Event 3 fired 8:50 AM:
{
    "event_type": "zha_event",
    "data": {
        "device_ieee": "00:17:88:01:04:e7:01:f5",
        "unique_id": "00:17:88:01:04:e7:01:f5:1:0x0006",
        "device_id": "3650af3c4f7da75b9062b2f3f71d2afb",
        "endpoint_id": 1,
        "cluster_id": 6,
        "command": "off_with_effect",
        "args": [
            0,
            0
        ]
    },
    "origin": "LOCAL",
    "time_fired": "2021-05-19T06:50:17.678381+00:00",
    "context": {
        "id": "57c3217d130814a9e5fedce39fad0bb8",
        "parent_id": null,
        "user_id": null
    }
}
Event 2 fired 8:49 AM:
{
    "event_type": "zha_event",
    "data": {
        "device_ieee": "00:17:88:01:04:e7:01:f5",
        "unique_id": "00:17:88:01:04:e7:01:f5:2:0xfc00",
        "device_id": "3650af3c4f7da75b9062b2f3f71d2afb",
        "endpoint_id": 2,
        "cluster_id": 64512,
        "command": "on_press",
        "args": {
            "button": "on",
            "press_type": "press",
            "command_id": 0,
            "args": [
                1,
                3145728,
                0,
                33,
                0,
                0
            ]
        }
    },
    "origin": "LOCAL",
    "time_fired": "2021-05-19T06:49:40.419540+00:00",
    "context": {
        "id": "4be5e8a8c3123070f3977d3cbd7927a9",
        "parent_id": null,
        "user_id": null
    }
}
Event 1 fired 8:49 AM:
{
    "event_type": "zha_event",
    "data": {
        "device_ieee": "00:17:88:01:04:e7:01:f5",
        "unique_id": "00:17:88:01:04:e7:01:f5:2:0xfc00",
        "device_id": "3650af3c4f7da75b9062b2f3f71d2afb",
        "endpoint_id": 2,
        "cluster_id": 64512,
        "command": "on_short_release",
        "args": {
            "button": "on",
            "press_type": "short_release",
            "command_id": 0,
            "args": [
                1,
                3145728,
                2,
                33,
                1,
                0
            ]
        }
    },
    "origin": "LOCAL",
    "time_fired": "2021-05-19T06:49:40.294925+00:00",
    "context": {
        "id": "4e8bf52945dc6ee344be21c6bfe8bfc0",
        "parent_id": null,
        "user_id": null
    }
}
Event 0 fired 8:49 AM:
{
    "event_type": "zha_event",
    "data": {
        "device_ieee": "00:17:88:01:04:e7:01:f5",
        "unique_id": "00:17:88:01:04:e7:01:f5:1:0x0006",
        "device_id": "3650af3c4f7da75b9062b2f3f71d2afb",
        "endpoint_id": 1,
        "cluster_id": 6,
        "command": "on",
        "args": []
    },
    "origin": "LOCAL",
    "time_fired": "2021-05-19T06:49:40.203820+00:00",
    "context": {
        "id": "8abf0a02e03ecdb94f5ab41d0883581a",
        "parent_id": null,
        "user_id": null
    }
}

long press + release events:

Event 28 fired 8:53 AM:
{
    "event_type": "zha_event",
    "data": {
        "device_ieee": "00:17:88:01:04:e7:01:f5",
        "unique_id": "00:17:88:01:04:e7:01:f5:2:0xfc00",
        "device_id": "3650af3c4f7da75b9062b2f3f71d2afb",
        "endpoint_id": 2,
        "cluster_id": 64512,
        "command": "down_long_release",
        "args": {
            "button": "down",
            "press_type": "long_release",
            "command_id": 0,
            "args": [
                3,
                3145728,
                3,
                33,
                20,
                0
            ]
        }
    },
    "origin": "LOCAL",
    "time_fired": "2021-05-19T06:53:20.916820+00:00",
    "context": {
        "id": "0279e8ea1cd611b29e3a6632fdbc0a78",
        "parent_id": null,
        "user_id": null
    }
}
Event 27 fired 8:53 AM:
{
    "event_type": "zha_event",
    "data": {
        "device_ieee": "00:17:88:01:04:e7:01:f5",
        "unique_id": "00:17:88:01:04:e7:01:f5:1:0x0008",
        "device_id": "3650af3c4f7da75b9062b2f3f71d2afb",
        "endpoint_id": 1,
        "cluster_id": 8,
        "command": "stop",
        "args": []
    },
    "origin": "LOCAL",
    "time_fired": "2021-05-19T06:53:20.904763+00:00",
    "context": {
        "id": "9e671f10af8760242cf164a22f87f8ef",
        "parent_id": null,
        "user_id": null
    }
}
Event 26 fired 8:53 AM:
{
    "event_type": "zha_event",
    "data": {
        "device_ieee": "00:17:88:01:04:e7:01:f5",
        "unique_id": "00:17:88:01:04:e7:01:f5:2:0xfc00",
        "device_id": "3650af3c4f7da75b9062b2f3f71d2afb",
        "endpoint_id": 2,
        "cluster_id": 64512,
        "command": "down_hold",
        "args": {
            "button": "down",
            "press_type": "hold",
            "command_id": 0,
            "args": [
                3,
                3145728,
                1,
                33,
                16,
                0
            ]
        }
    },
    "origin": "LOCAL",
    "time_fired": "2021-05-19T06:53:20.485307+00:00",
    "context": {
        "id": "3c57c7089a96fc5818a863692639fb86",
        "parent_id": null,
        "user_id": null
    }
}
Event 25 fired 8:53 AM:
{
    "event_type": "zha_event",
    "data": {
        "device_ieee": "00:17:88:01:04:e7:01:f5",
        "unique_id": "00:17:88:01:04:e7:01:f5:1:0x0008",
        "device_id": "3650af3c4f7da75b9062b2f3f71d2afb",
        "endpoint_id": 1,
        "cluster_id": 8,
        "command": "step",
        "args": [
            1,
            56,
            9
        ]
    },
    "origin": "LOCAL",
    "time_fired": "2021-05-19T06:53:20.476632+00:00",
    "context": {
        "id": "8c1a21442ad2af9a3dc96bb2f9c09693",
        "parent_id": null,
        "user_id": null
    }
}
Event 24 fired 8:53 AM:
{
    "event_type": "zha_event",
    "data": {
        "device_ieee": "00:17:88:01:04:e7:01:f5",
        "unique_id": "00:17:88:01:04:e7:01:f5:2:0xfc00",
        "device_id": "3650af3c4f7da75b9062b2f3f71d2afb",
        "endpoint_id": 2,
        "cluster_id": 64512,
        "command": "down_hold",
        "args": {
            "button": "down",
            "press_type": "hold",
            "command_id": 0,
            "args": [
                3,
                3145728,
                1,
                33,
                8,
                0
            ]
        }
    },
    "origin": "LOCAL",
    "time_fired": "2021-05-19T06:53:19.687655+00:00",
    "context": {
        "id": "c442684b241ea14af721c9ad560ff81a",
        "parent_id": null,
        "user_id": null
    }
}
Event 23 fired 8:53 AM:
{
    "event_type": "zha_event",
    "data": {
        "device_ieee": "00:17:88:01:04:e7:01:f5",
        "unique_id": "00:17:88:01:04:e7:01:f5:1:0x0008",
        "device_id": "3650af3c4f7da75b9062b2f3f71d2afb",
        "endpoint_id": 1,
        "cluster_id": 8,
        "command": "step",
        "args": [
            1,
            56,
            9
        ]
    },
    "origin": "LOCAL",
    "time_fired": "2021-05-19T06:53:19.676285+00:00",
    "context": {
        "id": "e44961a27001dfa444de73e52268a1a1",
        "parent_id": null,
        "user_id": null
    }
}
Event 22 fired 8:53 AM:
{
    "event_type": "zha_event",
    "data": {
        "device_ieee": "00:17:88:01:04:e7:01:f5",
        "unique_id": "00:17:88:01:04:e7:01:f5:2:0xfc00",
        "device_id": "3650af3c4f7da75b9062b2f3f71d2afb",
        "endpoint_id": 2,
        "cluster_id": 64512,
        "command": "down_press",
        "args": {
            "button": "down",
            "press_type": "press",
            "command_id": 0,
            "args": [
                3,
                3145728,
                0,
                33,
                0,
                0
            ]
        }
    },
    "origin": "LOCAL",
    "time_fired": "2021-05-19T06:53:19.188738+00:00",
    "context": {
        "id": "58dbb40359c0d1bc498c23542b474439",
        "parent_id": null,
        "user_id": null
    }
}
Event 21 fired 8:53 AM:
{
    "event_type": "zha_event",
    "data": {
        "device_ieee": "00:17:88:01:04:e7:01:f5",
        "unique_id": "00:17:88:01:04:e7:01:f5:1:0x0008",
        "device_id": "3650af3c4f7da75b9062b2f3f71d2afb",
        "endpoint_id": 1,
        "cluster_id": 8,
        "command": "step",
        "args": [
            1,
            30,
            9
        ]
    },
    "origin": "LOCAL",
    "time_fired": "2021-05-19T06:53:18.878347+00:00",
    "context": {
        "id": "d455eb5509cc1b85d52890c5cbd512f6",
        "parent_id": null,
        "user_id": null
    }
}
Event 20 fired 8:53 AM:
{
    "event_type": "zha_event",
    "data": {
        "device_ieee": "00:17:88:01:04:e7:01:f5",
        "unique_id": "00:17:88:01:04:e7:01:f5:2:0xfc00",
        "device_id": "3650af3c4f7da75b9062b2f3f71d2afb",
        "endpoint_id": 2,
        "cluster_id": 64512,
        "command": "up_long_release",
        "args": {
            "button": "up",
            "press_type": "long_release",
            "command_id": 0,
            "args": [
                2,
                3145728,
                3,
                33,
                20,
                0
            ]
        }
    },
    "origin": "LOCAL",
    "time_fired": "2021-05-19T06:53:17.432383+00:00",
    "context": {
        "id": "891389f8b3b7a5a0c1ec30bb723beda8",
        "parent_id": null,
        "user_id": null
    }
}
Event 19 fired 8:53 AM:
{
    "event_type": "zha_event",
    "data": {
        "device_ieee": "00:17:88:01:04:e7:01:f5",
        "unique_id": "00:17:88:01:04:e7:01:f5:1:0x0008",
        "device_id": "3650af3c4f7da75b9062b2f3f71d2afb",
        "endpoint_id": 1,
        "cluster_id": 8,
        "command": "stop",
        "args": []
    },
    "origin": "LOCAL",
    "time_fired": "2021-05-19T06:53:17.410483+00:00",
    "context": {
        "id": "4be73feeba243d8635dbf635c8238dcd",
        "parent_id": null,
        "user_id": null
    }
}
Event 18 fired 8:53 AM:
{
    "event_type": "zha_event",
    "data": {
        "device_ieee": "00:17:88:01:04:e7:01:f5",
        "unique_id": "00:17:88:01:04:e7:01:f5:2:0xfc00",
        "device_id": "3650af3c4f7da75b9062b2f3f71d2afb",
        "endpoint_id": 2,
        "cluster_id": 64512,
        "command": "up_hold",
        "args": {
            "button": "up",
            "press_type": "hold",
            "command_id": 0,
            "args": [
                2,
                3145728,
                1,
                33,
                16,
                0
            ]
        }
    },
    "origin": "LOCAL",
    "time_fired": "2021-05-19T06:53:16.945379+00:00",
    "context": {
        "id": "d5a5a45a93715b5c00818d71994e939d",
        "parent_id": null,
        "user_id": null
    }
}
Event 17 fired 8:53 AM:
{
    "event_type": "zha_event",
    "data": {
        "device_ieee": "00:17:88:01:04:e7:01:f5",
        "unique_id": "00:17:88:01:04:e7:01:f5:1:0x0008",
        "device_id": "3650af3c4f7da75b9062b2f3f71d2afb",
        "endpoint_id": 1,
        "cluster_id": 8,
        "command": "step",
        "args": [
            0,
            56,
            9
        ]
    },
    "origin": "LOCAL",
    "time_fired": "2021-05-19T06:53:16.934999+00:00",
    "context": {
        "id": "72127d8a295a6944732f7388e810c975",
        "parent_id": null,
        "user_id": null
    }
}
Event 16 fired 8:53 AM:
{
    "event_type": "zha_event",
    "data": {
        "device_ieee": "00:17:88:01:04:e7:01:f5",
        "unique_id": "00:17:88:01:04:e7:01:f5:2:0xfc00",
        "device_id": "3650af3c4f7da75b9062b2f3f71d2afb",
        "endpoint_id": 2,
        "cluster_id": 64512,
        "command": "up_hold",
        "args": {
            "button": "up",
            "press_type": "hold",
            "command_id": 0,
            "args": [
                2,
                3145728,
                1,
                33,
                8,
                0
            ]
        }
    },
    "origin": "LOCAL",
    "time_fired": "2021-05-19T06:53:16.157095+00:00",
    "context": {
        "id": "150471ce673c6267c9d998f9390075c6",
        "parent_id": null,
        "user_id": null
    }
}
Event 15 fired 8:53 AM:
{
    "event_type": "zha_event",
    "data": {
        "device_ieee": "00:17:88:01:04:e7:01:f5",
        "unique_id": "00:17:88:01:04:e7:01:f5:1:0x0008",
        "device_id": "3650af3c4f7da75b9062b2f3f71d2afb",
        "endpoint_id": 1,
        "cluster_id": 8,
        "command": "step",
        "args": [
            0,
            56,
            9
        ]
    },
    "origin": "LOCAL",
    "time_fired": "2021-05-19T06:53:16.134856+00:00",
    "context": {
        "id": "6051e4d4b284c86af2335f0ca4c76335",
        "parent_id": null,
        "user_id": null
    }
}
Event 14 fired 8:53 AM:
{
    "event_type": "zha_event",
    "data": {
        "device_ieee": "00:17:88:01:04:e7:01:f5",
        "unique_id": "00:17:88:01:04:e7:01:f5:2:0xfc00",
        "device_id": "3650af3c4f7da75b9062b2f3f71d2afb",
        "endpoint_id": 2,
        "cluster_id": 64512,
        "command": "up_press",
        "args": {
            "button": "up",
            "press_type": "press",
            "command_id": 0,
            "args": [
                2,
                3145728,
                0,
                33,
                0,
                0
            ]
        }
    },
    "origin": "LOCAL",
    "time_fired": "2021-05-19T06:53:15.644181+00:00",
    "context": {
        "id": "6e6e96a7ceb067e987b59226d8eae7d1",
        "parent_id": null,
        "user_id": null
    }
}
Event 13 fired 8:53 AM:
{
    "event_type": "zha_event",
    "data": {
        "device_ieee": "00:17:88:01:04:e7:01:f5",
        "unique_id": "00:17:88:01:04:e7:01:f5:1:0x0008",
        "device_id": "3650af3c4f7da75b9062b2f3f71d2afb",
        "endpoint_id": 1,
        "cluster_id": 8,
        "command": "step",
        "args": [
            0,
            30,
            9
        ]
    },
    "origin": "LOCAL",
    "time_fired": "2021-05-19T06:53:15.332693+00:00",
    "context": {
        "id": "9c0f683c9aef7f9cf7953416ba09b966",
        "parent_id": null,
        "user_id": null
    }
}
Event 12 fired 8:53 AM:
{
    "event_type": "zha_event",
    "data": {
        "device_ieee": "00:17:88:01:04:e7:01:f5",
        "unique_id": "00:17:88:01:04:e7:01:f5:2:0xfc00",
        "device_id": "3650af3c4f7da75b9062b2f3f71d2afb",
        "endpoint_id": 2,
        "cluster_id": 64512,
        "command": "off_long_release",
        "args": {
            "button": "off",
            "press_type": "long_release",
            "command_id": 0,
            "args": [
                4,
                3145728,
                3,
                33,
                27,
                0
            ]
        }
    },
    "origin": "LOCAL",
    "time_fired": "2021-05-19T06:53:10.141442+00:00",
    "context": {
        "id": "3e21274fc00584f2c8cc6d085eaf8ca3",
        "parent_id": null,
        "user_id": null
    }
}
Event 11 fired 8:53 AM:
{
    "event_type": "zha_event",
    "data": {
        "device_ieee": "00:17:88:01:04:e7:01:f5",
        "unique_id": "00:17:88:01:04:e7:01:f5:2:0xfc00",
        "device_id": "3650af3c4f7da75b9062b2f3f71d2afb",
        "endpoint_id": 2,
        "cluster_id": 64512,
        "command": "off_hold",
        "args": {
            "button": "off",
            "press_type": "hold",
            "command_id": 0,
            "args": [
                4,
                3145728,
                1,
                33,
                24,
                0
            ]
        }
    },
    "origin": "LOCAL",
    "time_fired": "2021-05-19T06:53:09.843725+00:00",
    "context": {
        "id": "a2a96d78a4e2ed90504dad893da7a681",
        "parent_id": null,
        "user_id": null
    }
}
Event 10 fired 8:53 AM:
{
    "event_type": "zha_event",
    "data": {
        "device_ieee": "00:17:88:01:04:e7:01:f5",
        "unique_id": "00:17:88:01:04:e7:01:f5:2:0xfc00",
        "device_id": "3650af3c4f7da75b9062b2f3f71d2afb",
        "endpoint_id": 2,
        "cluster_id": 64512,
        "command": "off_hold",
        "args": {
            "button": "off",
            "press_type": "hold",
            "command_id": 0,
            "args": [
                4,
                3145728,
                1,
                33,
                16,
                0
            ]
        }
    },
    "origin": "LOCAL",
    "time_fired": "2021-05-19T06:53:09.041557+00:00",
    "context": {
        "id": "1976bd44e61010cf55c289c1bedc39a4",
        "parent_id": null,
        "user_id": null
    }
}
Event 9 fired 8:53 AM:
{
    "event_type": "zha_event",
    "data": {
        "device_ieee": "00:17:88:01:04:e7:01:f5",
        "unique_id": "00:17:88:01:04:e7:01:f5:2:0xfc00",
        "device_id": "3650af3c4f7da75b9062b2f3f71d2afb",
        "endpoint_id": 2,
        "cluster_id": 64512,
        "command": "off_hold",
        "args": {
            "button": "off",
            "press_type": "hold",
            "command_id": 0,
            "args": [
                4,
                3145728,
                1,
                33,
                8,
                0
            ]
        }
    },
    "origin": "LOCAL",
    "time_fired": "2021-05-19T06:53:08.243097+00:00",
    "context": {
        "id": "de69c6ba8a4109dff2a030cefebfd59e",
        "parent_id": null,
        "user_id": null
    }
}
Event 8 fired 8:53 AM:
{
    "event_type": "zha_event",
    "data": {
        "device_ieee": "00:17:88:01:04:e7:01:f5",
        "unique_id": "00:17:88:01:04:e7:01:f5:2:0xfc00",
        "device_id": "3650af3c4f7da75b9062b2f3f71d2afb",
        "endpoint_id": 2,
        "cluster_id": 64512,
        "command": "off_press",
        "args": {
            "button": "off",
            "press_type": "press",
            "command_id": 0,
            "args": [
                4,
                3145728,
                0,
                33,
                0,
                0
            ]
        }
    },
    "origin": "LOCAL",
    "time_fired": "2021-05-19T06:53:07.744674+00:00",
    "context": {
        "id": "1df9da73cf64ddc9b16a4a2ae86a35f6",
        "parent_id": null,
        "user_id": null
    }
}
Event 7 fired 8:53 AM:
{
    "event_type": "zha_event",
    "data": {
        "device_ieee": "00:17:88:01:04:e7:01:f5",
        "unique_id": "00:17:88:01:04:e7:01:f5:1:0x0006",
        "device_id": "3650af3c4f7da75b9062b2f3f71d2afb",
        "endpoint_id": 1,
        "cluster_id": 6,
        "command": "off_with_effect",
        "args": [
            0,
            0
        ]
    },
    "origin": "LOCAL",
    "time_fired": "2021-05-19T06:53:07.452475+00:00",
    "context": {
        "id": "a09f7ab516d749be1b030f794a9c0d0e",
        "parent_id": null,
        "user_id": null
    }
}
Event 6 fired 8:52 AM:
{
    "event_type": "zha_event",
    "data": {
        "device_ieee": "00:17:88:01:04:e7:01:f5",
        "unique_id": "00:17:88:01:04:e7:01:f5:2:0xfc00",
        "device_id": "3650af3c4f7da75b9062b2f3f71d2afb",
        "endpoint_id": 2,
        "cluster_id": 64512,
        "command": "on_long_release",
        "args": {
            "button": "on",
            "press_type": "long_release",
            "command_id": 0,
            "args": [
                1,
                3145728,
                3,
                33,
                38,
                0
            ]
        }
    },
    "origin": "LOCAL",
    "time_fired": "2021-05-19T06:52:54.146951+00:00",
    "context": {
        "id": "32ea9a587d2e069999f659da3a52da84",
        "parent_id": null,
        "user_id": null
    }
}
Event 5 fired 8:52 AM:
{
    "event_type": "zha_event",
    "data": {
        "device_ieee": "00:17:88:01:04:e7:01:f5",
        "unique_id": "00:17:88:01:04:e7:01:f5:2:0xfc00",
        "device_id": "3650af3c4f7da75b9062b2f3f71d2afb",
        "endpoint_id": 2,
        "cluster_id": 64512,
        "command": "on_hold",
        "args": {
            "button": "on",
            "press_type": "hold",
            "command_id": 0,
            "args": [
                1,
                3145728,
                1,
                33,
                32,
                0
            ]
        }
    },
    "origin": "LOCAL",
    "time_fired": "2021-05-19T06:52:53.487142+00:00",
    "context": {
        "id": "12506cc25814a114d948eab0fd5bdfee",
        "parent_id": null,
        "user_id": null
    }
}
Event 4 fired 8:52 AM:
{
    "event_type": "zha_event",
    "data": {
        "device_ieee": "00:17:88:01:04:e7:01:f5",
        "unique_id": "00:17:88:01:04:e7:01:f5:2:0xfc00",
        "device_id": "3650af3c4f7da75b9062b2f3f71d2afb",
        "endpoint_id": 2,
        "cluster_id": 64512,
        "command": "on_hold",
        "args": {
            "button": "on",
            "press_type": "hold",
            "command_id": 0,
            "args": [
                1,
                3145728,
                1,
                33,
                24,
                0
            ]
        }
    },
    "origin": "LOCAL",
    "time_fired": "2021-05-19T06:52:53.288059+00:00",
    "context": {
        "id": "c17e7dc45262f550a5e0ec274a440c82",
        "parent_id": null,
        "user_id": null
    }
}
Event 3 fired 8:52 AM:
{
    "event_type": "zha_event",
    "data": {
        "device_ieee": "00:17:88:01:04:e7:01:f5",
        "unique_id": "00:17:88:01:04:e7:01:f5:2:0xfc00",
        "device_id": "3650af3c4f7da75b9062b2f3f71d2afb",
        "endpoint_id": 2,
        "cluster_id": 64512,
        "command": "on_hold",
        "args": {
            "button": "on",
            "press_type": "hold",
            "command_id": 0,
            "args": [
                1,
                3145728,
                1,
                33,
                16,
                0
            ]
        }
    },
    "origin": "LOCAL",
    "time_fired": "2021-05-19T06:52:53.264553+00:00",
    "context": {
        "id": "e6bad11acd858dccc4d938a64ade7ba1",
        "parent_id": null,
        "user_id": null
    }
}
Event 2 fired 8:52 AM:
{
    "event_type": "zha_event",
    "data": {
        "device_ieee": "00:17:88:01:04:e7:01:f5",
        "unique_id": "00:17:88:01:04:e7:01:f5:2:0xfc00",
        "device_id": "3650af3c4f7da75b9062b2f3f71d2afb",
        "endpoint_id": 2,
        "cluster_id": 64512,
        "command": "on_hold",
        "args": {
            "button": "on",
            "press_type": "hold",
            "command_id": 0,
            "args": [
                1,
                3145728,
                1,
                33,
                8,
                0
            ]
        }
    },
    "origin": "LOCAL",
    "time_fired": "2021-05-19T06:52:51.157873+00:00",
    "context": {
        "id": "d1c8385177eb65eaeb852972f74e2b8f",
        "parent_id": null,
        "user_id": null
    }
}
Event 1 fired 8:52 AM:
{
    "event_type": "zha_event",
    "data": {
        "device_ieee": "00:17:88:01:04:e7:01:f5",
        "unique_id": "00:17:88:01:04:e7:01:f5:2:0xfc00",
        "device_id": "3650af3c4f7da75b9062b2f3f71d2afb",
        "endpoint_id": 2,
        "cluster_id": 64512,
        "command": "on_press",
        "args": {
            "button": "on",
            "press_type": "press",
            "command_id": 0,
            "args": [
                1,
                3145728,
                0,
                33,
                0,
                0
            ]
        }
    },
    "origin": "LOCAL",
    "time_fired": "2021-05-19T06:52:50.664802+00:00",
    "context": {
        "id": "74906f443f51b299fd12ef57fa03e738",
        "parent_id": null,
        "user_id": null
    }
}
Event 0 fired 8:52 AM:
{
    "event_type": "zha_event",
    "data": {
        "device_ieee": "00:17:88:01:04:e7:01:f5",
        "unique_id": "00:17:88:01:04:e7:01:f5:1:0x0006",
        "device_id": "3650af3c4f7da75b9062b2f3f71d2afb",
        "endpoint_id": 1,
        "cluster_id": 6,
        "command": "on",
        "args": []
    },
    "origin": "LOCAL",
    "time_fired": "2021-05-19T06:52:50.449232+00:00",
    "context": {
        "id": "a4c8bb847eda1c7fda93298dd4374f2a",
        "parent_id": null,
        "user_id": null
    }
}

double press events:

Event 19 fired 8:54 AM:
{
    "event_type": "zha_event",
    "data": {
        "device_ieee": "00:17:88:01:04:e7:01:f5",
        "unique_id": "00:17:88:01:04:e7:01:f5:2:0xfc00",
        "device_id": "3650af3c4f7da75b9062b2f3f71d2afb",
        "endpoint_id": 2,
        "cluster_id": 64512,
        "command": "down_double_press",
        "args": {
            "button": "down",
            "press_type": "double_press",
            "command_id": 0,
            "args": [
                3,
                3145728,
                0,
                33,
                0,
                0
            ]
        }
    },
    "origin": "LOCAL",
    "time_fired": "2021-05-19T06:54:16.345456+00:00",
    "context": {
        "id": "b98417f961cb2af27c3686932c10bbb7",
        "parent_id": null,
        "user_id": null
    }
}
Event 18 fired 8:54 AM:
{
    "event_type": "zha_event",
    "data": {
        "device_ieee": "00:17:88:01:04:e7:01:f5",
        "unique_id": "00:17:88:01:04:e7:01:f5:2:0xfc00",
        "device_id": "3650af3c4f7da75b9062b2f3f71d2afb",
        "endpoint_id": 2,
        "cluster_id": 64512,
        "command": "down_short_release",
        "args": {
            "button": "down",
            "press_type": "short_release",
            "command_id": 0,
            "args": [
                3,
                3145728,
                2,
                33,
                0,
                0
            ]
        }
    },
    "origin": "LOCAL",
    "time_fired": "2021-05-19T06:54:16.066097+00:00",
    "context": {
        "id": "14dfcc37bbbffeec49dd3490fd46ceee",
        "parent_id": null,
        "user_id": null
    }
}
Event 17 fired 8:54 AM:
{
    "event_type": "zha_event",
    "data": {
        "device_ieee": "00:17:88:01:04:e7:01:f5",
        "unique_id": "00:17:88:01:04:e7:01:f5:1:0x0008",
        "device_id": "3650af3c4f7da75b9062b2f3f71d2afb",
        "endpoint_id": 1,
        "cluster_id": 8,
        "command": "step",
        "args": [
            1,
            30,
            9
        ]
    },
    "origin": "LOCAL",
    "time_fired": "2021-05-19T06:54:16.021184+00:00",
    "context": {
        "id": "dfb9df47cf6bbd4bd2463ea7099880db",
        "parent_id": null,
        "user_id": null
    }
}
Event 16 fired 8:54 AM:
{
    "event_type": "zha_event",
    "data": {
        "device_ieee": "00:17:88:01:04:e7:01:f5",
        "unique_id": "00:17:88:01:04:e7:01:f5:2:0xfc00",
        "device_id": "3650af3c4f7da75b9062b2f3f71d2afb",
        "endpoint_id": 2,
        "cluster_id": 64512,
        "command": "down_short_release",
        "args": {
            "button": "down",
            "press_type": "short_release",
            "command_id": 0,
            "args": [
                3,
                3145728,
                2,
                33,
                0,
                0
            ]
        }
    },
    "origin": "LOCAL",
    "time_fired": "2021-05-19T06:54:15.907124+00:00",
    "context": {
        "id": "a5594619bbc38a768b96863f3d17a4b7",
        "parent_id": null,
        "user_id": null
    }
}
Event 15 fired 8:54 AM:
{
    "event_type": "zha_event",
    "data": {
        "device_ieee": "00:17:88:01:04:e7:01:f5",
        "unique_id": "00:17:88:01:04:e7:01:f5:1:0x0008",
        "device_id": "3650af3c4f7da75b9062b2f3f71d2afb",
        "endpoint_id": 1,
        "cluster_id": 8,
        "command": "step",
        "args": [
            1,
            30,
            9
        ]
    },
    "origin": "LOCAL",
    "time_fired": "2021-05-19T06:54:15.860049+00:00",
    "context": {
        "id": "35c25f18a76ca2c70be11c209d54b999",
        "parent_id": null,
        "user_id": null
    }
}
Event 14 fired 8:54 AM:
{
    "event_type": "zha_event",
    "data": {
        "device_ieee": "00:17:88:01:04:e7:01:f5",
        "unique_id": "00:17:88:01:04:e7:01:f5:2:0xfc00",
        "device_id": "3650af3c4f7da75b9062b2f3f71d2afb",
        "endpoint_id": 2,
        "cluster_id": 64512,
        "command": "up_double_press",
        "args": {
            "button": "up",
            "press_type": "double_press",
            "command_id": 0,
            "args": [
                2,
                3145728,
                0,
                33,
                0,
                0
            ]
        }
    },
    "origin": "LOCAL",
    "time_fired": "2021-05-19T06:54:14.441138+00:00",
    "context": {
        "id": "39ea3177f136228d3f8eb76a164acd00",
        "parent_id": null,
        "user_id": null
    }
}
Event 13 fired 8:54 AM:
{
    "event_type": "zha_event",
    "data": {
        "device_ieee": "00:17:88:01:04:e7:01:f5",
        "unique_id": "00:17:88:01:04:e7:01:f5:2:0xfc00",
        "device_id": "3650af3c4f7da75b9062b2f3f71d2afb",
        "endpoint_id": 2,
        "cluster_id": 64512,
        "command": "up_short_release",
        "args": {
            "button": "up",
            "press_type": "short_release",
            "command_id": 0,
            "args": [
                2,
                3145728,
                2,
                33,
                1,
                0
            ]
        }
    },
    "origin": "LOCAL",
    "time_fired": "2021-05-19T06:54:14.216860+00:00",
    "context": {
        "id": "2b64ff832e94145862ca883f5fafb271",
        "parent_id": null,
        "user_id": null
    }
}
Event 12 fired 8:54 AM:
{
    "event_type": "zha_event",
    "data": {
        "device_ieee": "00:17:88:01:04:e7:01:f5",
        "unique_id": "00:17:88:01:04:e7:01:f5:1:0x0008",
        "device_id": "3650af3c4f7da75b9062b2f3f71d2afb",
        "endpoint_id": 1,
        "cluster_id": 8,
        "command": "step",
        "args": [
            0,
            30,
            9
        ]
    },
    "origin": "LOCAL",
    "time_fired": "2021-05-19T06:54:14.119571+00:00",
    "context": {
        "id": "faa25c6b4d545534cb8fd03f0c2bae99",
        "parent_id": null,
        "user_id": null
    }
}
Event 11 fired 8:54 AM:
{
    "event_type": "zha_event",
    "data": {
        "device_ieee": "00:17:88:01:04:e7:01:f5",
        "unique_id": "00:17:88:01:04:e7:01:f5:2:0xfc00",
        "device_id": "3650af3c4f7da75b9062b2f3f71d2afb",
        "endpoint_id": 2,
        "cluster_id": 64512,
        "command": "up_short_release",
        "args": {
            "button": "up",
            "press_type": "short_release",
            "command_id": 0,
            "args": [
                2,
                3145728,
                2,
                33,
                0,
                0
            ]
        }
    },
    "origin": "LOCAL",
    "time_fired": "2021-05-19T06:54:14.053361+00:00",
    "context": {
        "id": "86a49a4a1da15415e030771c10745a12",
        "parent_id": null,
        "user_id": null
    }
}
Event 10 fired 8:54 AM:
{
    "event_type": "zha_event",
    "data": {
        "device_ieee": "00:17:88:01:04:e7:01:f5",
        "unique_id": "00:17:88:01:04:e7:01:f5:1:0x0008",
        "device_id": "3650af3c4f7da75b9062b2f3f71d2afb",
        "endpoint_id": 1,
        "cluster_id": 8,
        "command": "step",
        "args": [
            0,
            30,
            9
        ]
    },
    "origin": "LOCAL",
    "time_fired": "2021-05-19T06:54:13.974607+00:00",
    "context": {
        "id": "389c8a7e636578edcab479f6a0d48636",
        "parent_id": null,
        "user_id": null
    }
}
Event 9 fired 8:54 AM:
{
    "event_type": "zha_event",
    "data": {
        "device_ieee": "00:17:88:01:04:e7:01:f5",
        "unique_id": "00:17:88:01:04:e7:01:f5:2:0xfc00",
        "device_id": "3650af3c4f7da75b9062b2f3f71d2afb",
        "endpoint_id": 2,
        "cluster_id": 64512,
        "command": "off_double_press",
        "args": {
            "button": "off",
            "press_type": "double_press",
            "command_id": 0,
            "args": [
                4,
                3145728,
                0,
                33,
                0,
                0
            ]
        }
    },
    "origin": "LOCAL",
    "time_fired": "2021-05-19T06:54:11.886341+00:00",
    "context": {
        "id": "a2a907f6f690110f4edca9cfcbcfd4b5",
        "parent_id": null,
        "user_id": null
    }
}
Event 8 fired 8:54 AM:
{
    "event_type": "zha_event",
    "data": {
        "device_ieee": "00:17:88:01:04:e7:01:f5",
        "unique_id": "00:17:88:01:04:e7:01:f5:2:0xfc00",
        "device_id": "3650af3c4f7da75b9062b2f3f71d2afb",
        "endpoint_id": 2,
        "cluster_id": 64512,
        "command": "off_short_release",
        "args": {
            "button": "off",
            "press_type": "short_release",
            "command_id": 0,
            "args": [
                4,
                3145728,
                2,
                33,
                0,
                0
            ]
        }
    },
    "origin": "LOCAL",
    "time_fired": "2021-05-19T06:54:11.666311+00:00",
    "context": {
        "id": "e62bb065eede435b1cf843a7dce4f8f3",
        "parent_id": null,
        "user_id": null
    }
}
Event 7 fired 8:54 AM:
{
    "event_type": "zha_event",
    "data": {
        "device_ieee": "00:17:88:01:04:e7:01:f5",
        "unique_id": "00:17:88:01:04:e7:01:f5:1:0x0006",
        "device_id": "3650af3c4f7da75b9062b2f3f71d2afb",
        "endpoint_id": 1,
        "cluster_id": 6,
        "command": "off_with_effect",
        "args": [
            0,
            0
        ]
    },
    "origin": "LOCAL",
    "time_fired": "2021-05-19T06:54:11.591282+00:00",
    "context": {
        "id": "7c249d19a95588688aebfb04e7870f28",
        "parent_id": null,
        "user_id": null
    }
}
Event 6 fired 8:54 AM:
{
    "event_type": "zha_event",
    "data": {
        "device_ieee": "00:17:88:01:04:e7:01:f5",
        "unique_id": "00:17:88:01:04:e7:01:f5:2:0xfc00",
        "device_id": "3650af3c4f7da75b9062b2f3f71d2afb",
        "endpoint_id": 2,
        "cluster_id": 64512,
        "command": "off_short_release",
        "args": {
            "button": "off",
            "press_type": "short_release",
            "command_id": 0,
            "args": [
                4,
                3145728,
                2,
                33,
                0,
                0
            ]
        }
    },
    "origin": "LOCAL",
    "time_fired": "2021-05-19T06:54:11.530310+00:00",
    "context": {
        "id": "c89e7798d6bc6a5ba652f3282a00eb58",
        "parent_id": null,
        "user_id": null
    }
}
Event 5 fired 8:54 AM:
{
    "event_type": "zha_event",
    "data": {
        "device_ieee": "00:17:88:01:04:e7:01:f5",
        "unique_id": "00:17:88:01:04:e7:01:f5:1:0x0006",
        "device_id": "3650af3c4f7da75b9062b2f3f71d2afb",
        "endpoint_id": 1,
        "cluster_id": 6,
        "command": "off_with_effect",
        "args": [
            0,
            0
        ]
    },
    "origin": "LOCAL",
    "time_fired": "2021-05-19T06:54:11.455362+00:00",
    "context": {
        "id": "5b4c7b0a0fc14904f4ba6debc247a75e",
        "parent_id": null,
        "user_id": null
    }
}
Event 4 fired 8:54 AM:
{
    "event_type": "zha_event",
    "data": {
        "device_ieee": "00:17:88:01:04:e7:01:f5",
        "unique_id": "00:17:88:01:04:e7:01:f5:2:0xfc00",
        "device_id": "3650af3c4f7da75b9062b2f3f71d2afb",
        "endpoint_id": 2,
        "cluster_id": 64512,
        "command": "on_double_press",
        "args": {
            "button": "on",
            "press_type": "double_press",
            "command_id": 0,
            "args": [
                1,
                3145728,
                0,
                33,
                0,
                0
            ]
        }
    },
    "origin": "LOCAL",
    "time_fired": "2021-05-19T06:54:07.420486+00:00",
    "context": {
        "id": "2a16160ff081ac8e02b8579798e90536",
        "parent_id": null,
        "user_id": null
    }
}
Event 3 fired 8:54 AM:
{
    "event_type": "zha_event",
    "data": {
        "device_ieee": "00:17:88:01:04:e7:01:f5",
        "unique_id": "00:17:88:01:04:e7:01:f5:2:0xfc00",
        "device_id": "3650af3c4f7da75b9062b2f3f71d2afb",
        "endpoint_id": 2,
        "cluster_id": 64512,
        "command": "on_short_release",
        "args": {
            "button": "on",
            "press_type": "short_release",
            "command_id": 0,
            "args": [
                1,
                3145728,
                2,
                33,
                0,
                0
            ]
        }
    },
    "origin": "LOCAL",
    "time_fired": "2021-05-19T06:54:07.170475+00:00",
    "context": {
        "id": "f47ca6ce87978d1a7a7eeef7bb7a4373",
        "parent_id": null,
        "user_id": null
    }
}
Event 2 fired 8:54 AM:
{
    "event_type": "zha_event",
    "data": {
        "device_ieee": "00:17:88:01:04:e7:01:f5",
        "unique_id": "00:17:88:01:04:e7:01:f5:1:0x0006",
        "device_id": "3650af3c4f7da75b9062b2f3f71d2afb",
        "endpoint_id": 1,
        "cluster_id": 6,
        "command": "on",
        "args": []
    },
    "origin": "LOCAL",
    "time_fired": "2021-05-19T06:54:07.125377+00:00",
    "context": {
        "id": "5ad9977b826744bbb3a39704c52d7afe",
        "parent_id": null,
        "user_id": null
    }
}
Event 1 fired 8:54 AM:
{
    "event_type": "zha_event",
    "data": {
        "device_ieee": "00:17:88:01:04:e7:01:f5",
        "unique_id": "00:17:88:01:04:e7:01:f5:2:0xfc00",
        "device_id": "3650af3c4f7da75b9062b2f3f71d2afb",
        "endpoint_id": 2,
        "cluster_id": 64512,
        "command": "on_short_release",
        "args": {
            "button": "on",
            "press_type": "short_release",
            "command_id": 0,
            "args": [
                1,
                3145728,
                2,
                33,
                0,
                0
            ]
        }
    },
    "origin": "LOCAL",
    "time_fired": "2021-05-19T06:54:07.050859+00:00",
    "context": {
        "id": "5b14e68cacf477d8bf428143f5827343",
        "parent_id": null,
        "user_id": null
    }
}
Event 0 fired 8:54 AM:
{
    "event_type": "zha_event",
    "data": {
        "device_ieee": "00:17:88:01:04:e7:01:f5",
        "unique_id": "00:17:88:01:04:e7:01:f5:1:0x0006",
        "device_id": "3650af3c4f7da75b9062b2f3f71d2afb",
        "endpoint_id": 1,
        "cluster_id": 6,
        "command": "on",
        "args": []
    },
    "origin": "LOCAL",
    "time_fired": "2021-05-19T06:54:06.982285+00:00",
    "context": {
        "id": "fd5598abdb57fb7c0cece274cc0528f7",
        "parent_id": null,
        "user_id": null
    }
}

Additional Details*

  • I'd like to help developing this blueprint
  • I've found a blueprint/automation not included in this project which integrates this controller

New Controller - Aqara Opple switch

Thank you for taking the time to report here! πŸŽ‰

Please don't delete any part of the template, since keeping the provided structure will help maintainers to process your request more rapidly.

This template should only be used to propose support for a a new Controller blueprint. If this is not your case, you can choose a different issue template. If you have a question instead, please open a discussion here.

*=required

Controller Information*

  • Manufacturer: Xiaomi
  • Model:
    WXCJKG12LM
  • Short Description: Aqara Opple 2/4/6 button remote.
  • Image:

Actions

button_1_single
button_2_single
button_3_single
button_4_single
button_5_single
button_6_single

button_1_double
button_2_double
button_3_double
button_4_double
button_5_double
button_6_double

button_1_triple
button_2_triple
button_3_triple
button_4_triple
button_5_triple
button_6_triple

button_1_hold
button_2_hold
button_3_hold
button_4_hold
button_5_hold
button_6_hold

button_1_release
button_2_release
button_3_release
button_4_release
button_5_release
button_6_release

[Integration] (e.g. deCONZ, ZHA, Zigbee2MQTT)

Zigbee2MQTT, not sure of how the other two works.

  • action_name (e.g. button_press): action description (e.g. sent when pressing the button)
  • etc.

Additional Details*

  • I'd like to help developing this blueprint
  • I've found a blueprint/automation not included in this project which integrates this controller

Additional context

Add any other context about the controller here (pitfalls in the device, checks which should be implemented to provide a fully working integration for the device, etc.).

Light hook does not remember last state when turning on.

Bug Details

  • Blueprint name: Light Hook

Description
When turning of the lights and then turning them on again the lights turn on on the lowest brightness.
I think this should be the last state instead. (normal light toggle behaviour). Not sure if this is not the case on purpose. If so then maybe add a boolean for "rember last state" or so :)

To Reproduce
turn off the lights at 50% brightness or so. Turn them on again (via the light hook of course) :)

Expected behavior
Turn on at the same state as the light(s) where when turning off.

Actual Behaviour
Turning on at lowest brightness.

Bug - Hook - Media Player immediately errors

Blueprint name

Hooks - Media Player

Home Assistant Core Version

core-2021.8.7

Home Assistant Installation Type

Home Assistant Container

Description

Fresh import of https://epmatt.github.io/awesome-ha-blueprints/docs/blueprints/hooks/media_player
If I click on the "Run Actions" button in the created blueprint, it just logs:

ERROR (MainThread) [homeassistant.helpers.template] Template variable error: 'dict object' has no attribute 'event' when rendering '{{trigger.event.data.action}}'
ERROR (MainThread) [homeassistant.components.automation.hook_media_player] Hook - Media Player: Error executing script. Error rendering template for variables at pos 1: UndefinedError: 'dict object' has no attribute 'event'
ERROR (MainThread) [homeassistant.components.automation.hook_media_player] Error while executing automation automation.hook_media_player: UndefinedError: 'dict object' has no attribute 'event'

Blueprint YAML config

id: '1629237320983'
alias: Hook - Media Player
description: ''
use_blueprint:
  path: EPMatt/media_player.yaml
  input:
    controller_device: 9b0d0b0edeea7f06b435eb2c33a301ae
    controller_entity: sensor.ikea_symfonisk_white_power
    controller_model: IKEA E1744 SYMFONISK rotary remote
    media_player: media_player.living_room
    volume_steps_long: 30

Automation YAML config

variables:
  controller_model: IKEA E1744 SYMFONISK rotary remote
  volume_steps_short: 10
  volume_steps_long: 30
  media_player: media_player.living_room
  supported_controllers:
    IKEA E1524/E1810 5-Button remote: ikea_e1524_e1810
    IKEA E1743 On/Off Switch & Dimmer: ikea_e1743
    IKEA E1744 SYMFONISK rotary remote: ikea_e1744
    IKEA E1812 Shortcut button: ikea_e1812
    IKEA ICTC-G-1 TRADFRI wireless dimmer: ikea_ictc_g_1
    Osram SMART+ Switch Mini: osram_ac025xx00nj
    Philips Hue Dimmer switch: philips_324131092621
    Philips Hue Smart Button: philips_8718699693985
  controller_mapping:
    ikea_e1524_e1810:
      volume_up: button_up_short
      volume_up_repeat: button_up_long
      volume_down: button_down_short
      volume_down_repeat: button_down_long
      next_track: button_right_short
      prev_track: button_left_short
      stop: button_center_hold
      play_pause: button_center_short
    ikea_e1743:
      volume_up: button_up_short
      volume_up_repeat: button_up_long
      volume_down: button_down_short
      volume_down_repeat: button_down_long
      next_track: button_up_double
      play_pause: button_down_double
    ikea_e1744:
      volume_up_repeat: rotate_right
      volume_down_repeat: rotate_left
      next_track: click_double
      prev_track: click_triple
      play_pause: click_short
    ikea_e1812:
      next_track: button_double
      stop: button_long
      play_pause: button_short
    ikea_ictc_g_1:
      volume_up_repeat: rotate_right
      volume_down_repeat: rotate_left
    osram_ac025xx00nj:
      volume_up: button_up_short
      volume_up_repeat: button_up_long
      next_track: button_up_double
      play_pause: button_click_short
      toggle: button_click_long
      volume_down: button_down_short
      volume_down_repeat: button_down_long
      prev_track: button_down_double
    philips_324131092621:
      play_pause: button_on_short
      stop: button_off_short
      volume_up: button_up_short
      volume_up_repeat: button_up_long
      volume_down: button_down_short
      volume_down_repeat: button_down_long
      next_track: button_on_long
      prev_track: button_off_long
    philips_8718699693985:
      play_pause: button_short
      next_track: button_double
  controller_model_id: '{{ supported_controllers[controller_model] }}'
  volume_up: '{{ controller_mapping[controller_model_id]["volume_up"] | default(None) }}'
  volume_up_repeat: >-
    {{ controller_mapping[controller_model_id]["volume_up_repeat"] |
    default(None) }}
  volume_down: '{{ controller_mapping[controller_model_id]["volume_down"] | default(None) }}'
  volume_down_repeat: >-
    {{ controller_mapping[controller_model_id]["volume_down_repeat"] |
    default(None) }}
  next_track: '{{ controller_mapping[controller_model_id]["next_track"] | default(None) }}'
  prev_track: '{{ controller_mapping[controller_model_id]["prev_track"] | default(None) }}'
  stop: '{{ controller_mapping[controller_model_id]["stop"] | default(None) }}'
  play_pause: '{{ controller_mapping[controller_model_id]["play_pause"] | default(None) }}'
  volume_step_value_short: '{{ 1/volume_steps_short }}'
  volume_step_value_long: '{{ 1/volume_steps_long }}'
mode: restart
max_exceeded: silent
trigger:
  - platform: event
    event_type: ahb_controller_event
    event_data:
      controller: 9b0d0b0edeea7f06b435eb2c33a301ae
  - platform: event
    event_type: ahb_controller_event
    event_data:
      controller: sensor.ikea_symfonisk_white_power
condition: null
action:
  - variables:
      action: '{{trigger.event.data.action}}'
  - choose:
      - conditions: '{{ action == play_pause }}'
        sequence:
          - service: media_player.media_play_pause
            entity_id: media_player.living_room
      - conditions: '{{ action == stop }}'
        sequence:
          - service: media_player.media_stop
            entity_id: media_player.living_room
      - conditions: '{{ action == next_track }}'
        sequence:
          - service: media_player.media_next_track
            entity_id: media_player.living_room
      - conditions: '{{ action == prev_track }}'
        sequence:
          - service: media_player.media_previous_track
            entity_id: media_player.living_room
      - conditions: '{{ action == toggle }}'
        sequence:
          - service: media_player.toggle
            entity_id: media_player.living_room
      - conditions: '{{ action == volume_up }}'
        sequence:
          - choose:
              - conditions: '{{ state_attr(media_player, "volume_level") != None }}'
                sequence:
                  - service: media_player.volume_set
                    entity_id: media_player.living_room
                    data:
                      volume_level: >-
                        {{ [ state_attr(media_player,
                        "volume_level")+volume_step_value_short, 1 ] | min  }}
            default:
              - service: media_player.volume_up
                entity_id: media_player.living_room
      - conditions: '{{ action == volume_down }}'
        sequence:
          - choose:
              - conditions: '{{ state_attr(media_player, "volume_level") != None }}'
                sequence:
                  - service: media_player.volume_set
                    entity_id: media_player.living_room
                    data:
                      volume_level: >-
                        {{ [ state_attr(media_player,
                        "volume_level")-volume_step_value_short, 0 ] | max }}
            default:
              - service: media_player.volume_down
                entity_id: media_player.living_room
      - conditions: '{{ action == volume_up_repeat }}'
        sequence:
          - repeat:
              while: '{{ true }}'
              sequence:
                - choose:
                    - conditions: '{{ state_attr(media_player, "volume_level") != None }}'
                      sequence:
                        - service: media_player.volume_set
                          entity_id: media_player.living_room
                          data:
                            volume_level: >-
                              {{ [ state_attr(media_player,
                              "volume_level")+volume_step_value_long, 1 ] | min 
                              }}
                  default:
                    - service: media_player.volume_up
                      entity_id: media_player.living_room
                - delay:
                    milliseconds: 250
      - conditions: '{{ action == volume_down_repeat }}'
        sequence:
          - repeat:
              while: '{{ true }}'
              sequence:
                - choose:
                    - conditions: '{{ state_attr(media_player, "volume_level") != None }}'
                      sequence:
                        - service: media_player.volume_set
                          entity_id: media_player.living_room
                          data:
                            volume_level: >-
                              {{ [ state_attr(media_player,
                              "volume_level")-volume_step_value_long, 0 ] | max
                              }}
                  default:
                    - service: media_player.volume_down
                      entity_id: media_player.living_room
                - delay:
                    milliseconds: 250
id: '1629237320983'
alias: Hook - Media Player
description: ''

To Reproduce

  1. Go to '...'
  2. Click on '....'
  3. Trigger the automation '....'
  4. See error

Expected behavior

No error...?

Actual Behaviour

Only emits error.

Additional Details

  • I'd like to help developing a fix for this issue.

Screenshots

No response

Additional context

No response

New Controller - Ikea STYRBAR E2001/E2002

Thank you for taking the time to report here! πŸŽ‰

Please don't delete any part of the template, since keeping the provided structure will help maintainers to process your request more rapidly.

This template should only be used to propose support for a a new Controller blueprint. If this is not your case, you can choose a different issue template. If you have a question instead, please open a discussion here.

*=required

Controller Information*

  • Manufacturer: IKEA
  • Model: E2002
  • Short Description: STYRBAR 4 Button Remote
  • Image:

styrbar

Actions

If possible, provide here mappings for actions which can be triggered with this controller.
Specify the integration these mappings refer to. If you want to provide mappings for multiple integrations, you can duplicate the following section as needed.

[Integration] ZHA

  • action_name (e.g. button_press): action description (e.g. sent when pressing the button)
  • etc.

Additional Details*

Similar function to the Tradfri 5 button remote, except short press of big sun turns light on, short press of little sun turns light off. Long presses dim up/down.

  • I'd like to help developing this blueprint
  • I've found a blueprint/automation not included in this project which integrates this controller

Additional context

Add any other context about the controller here (pitfalls in the device, checks which should be implemented to provide a fully working integration for the device, etc.).

[BUG] IKEA E1744 SYMFONISK Rotary Remote

Bug Details

  • Blueprint name: IKEA E1744 SYMFONISK Rotary Remote
  • Home Assistant Core Version: 2021.3.4
  • Home Assistant Installation Type: Home Assistant OS

Description
The "reset the text helper" part for "helper_last_controller_event" input is missing

Additional context

  # reset the text helper
  - service: 'input_text.set_value'
    data:
      entity_id: !input helper_last_controller_event
      value: ''

Docs - Input text integration marked as not required

Documentation URL

https://epmatt.github.io/awesome-ha-blueprints/docs/blueprints/controllers/ikea_e1524_e1810#requirements

Blueprint name

Any blueprint part of the Controllers category

Description

Documentation for controller blueprints states that the input text integration is required only when using some integrations for connecting the controller to Home Assistant, or when using double press actions.

Suggested changes

State that the input text integration is required, since the helper_last_controller_event blueprint input is required, starting from the newer versions of controller blueprints.

Additional Details

  • I'd like to help improving the documentation by working on this issue.

Screenshots

No response

Additional context

No response

Replace input for number with slider.

I think it would be nice to replace numeral inputs with sliders.
This way the interface works nicer on tablets and phones.
If you agree i'm happy to make a pull request for this :)

[BUG] Error when enabling double press events

Bug Details

  • Blueprint name: IKEA E1524/E1810 5-Button Remote
  • Home Assistant Core Version: 2021.3.3
  • Home Assistant Installation Type: Virtual Environment

Description

Using E1810 connected to my Zigbee2MQTT with blueprint:

https://github.com/EPMatt/awesome-ha-blueprints/blob/main/blueprints/controllers/ikea_e1524_e1810/ikea_e1524_e1810.yaml

If I enabled any of the double press events I get an error and none of the defined actions per button work.

To Reproduce
Automation based on blueprint:

- id: '1616011752593'
  alias: Ikea Switch Shutters
  description: ''
  use_blueprint:
    path: EPMatt/ikea_e1524_e1810.yaml
    input:
      integration: Zigbee2MQTT
      zigbee2mqtt_remote: sensor.ikea_switch_shutters_action
      button_center_double_press: false
      button_down_double_press: true
      button_up_double_press: true
      button_right_double_press: false
      button_left_double_press: false
      action_center_double: []
      action_center_short: []
      action_up_short:
      - service: cover.close_cover
        target:
          entity_id: cover.left_shutter_mqtt
      action_down_short:
      - service: cover.open_cover
        target:
          entity_id: cover.left_shutter_mqtt
      action_down_long: []
      action_up_double:
      - service: cover.set_cover_position
        target:
          entity_id: cover.left_shutter_mqtt
        data:
          position: 50
      action_down_double:
      - service: cover.set_cover_position
        target:
          entity_id: cover.left_shutter_mqtt
        data:
          position: 80

Expected behavior

Up and down should open or close cover fully. Double press on up should move it to 50 % and double press on down should move it to 80 %.

Actual Behaviour
I get a following error and no action works.

2021-03-17 21:51:26 ERROR (MainThread) [homeassistant.components.automation.ikea_switch_shutters] Ikea Switch Shutters: Choose at step 2: choice 10: Choose at step 1: choice 1: Choose at step 1: default: Error executing script. Invalid data for call_service at pos 1: not a valid value for dictionary value @ data['entity_id']
2021-03-17 21:51:26 ERROR (MainThread) [homeassistant.components.automation.ikea_switch_shutters] Ikea Switch Shutters: Choose at step 2: choice 10: Choose at step 1: choice 1: Error executing script. Invalid data for choose at pos 1: not a valid value for dictionary value @ data['entity_id']
2021-03-17 21:51:26 ERROR (MainThread) [homeassistant.components.automation.ikea_switch_shutters] Ikea Switch Shutters: Choose at step 2: choice 10: Error executing script. Invalid data for choose at pos 1: not a valid value for dictionary value @ data['entity_id']
2021-03-17 21:51:26 ERROR (MainThread) [homeassistant.components.automation.ikea_switch_shutters] Ikea Switch Shutters: Error executing script. Invalid data for choose at pos 2: not a valid value for dictionary value @ data['entity_id']
2021-03-17 21:51:26 ERROR (MainThread) [homeassistant.components.automation.ikea_switch_shutters] Error while executing automation automation.ikea_switch_shutters: not a valid value for dictionary value @ data['entity_id']

Here I could use some help on how to move cover up/down when I hold up/down button and stop it as soon I release up/down button. Maybe you could do an example hook for covers?

Thank you.

Bug - Light Hook throwing Error on long press

Blueprint name

Hook - Light

Home Assistant Core Version

2021.8.7

Home Assistant Installation Type

Home Assistant Supervised

Description

I have a Controller - IKEA E1743 On/Off Switch & Dimmer blueprint automation controlling a Light Hook. All works well but get this persistent error.

I have updated both controller and hook blueprints to latest versions

Scenario:
Long press down to switch light off. Short press to switch off works fine.

Error:
2021-08-19 07:42:46 WARNING (MainThread) [zigpy.zcl] [0x4deb:1:0x0008] Data remains after deserializing ZCL frame
2021-08-19 07:42:48 ERROR (MainThread) [homeassistant.components.automation.light_martin_s_bulb_hook] Light: Martin's bulb hook: Choose at step 2: choice 7: Choose at step 1: choice 1: Repeat at step 1: Choose at step 1: default: Error executing script. Error for call_service at pos 1: Error rendering data template: TypeError: unsupported operand type(s) for -: 'NoneType' and 'float'
2021-08-19 07:42:48 ERROR (MainThread) [homeassistant.components.automation.light_martin_s_bulb_hook] Light: Martin's bulb hook: Choose at step 2: choice 7: Choose at step 1: choice 1: Repeat at step 1: Error executing script. Error for choose at pos 1: Error rendering data template: TypeError: unsupported operand type(s) for -: 'NoneType' and 'float'
2021-08-19 07:42:48 ERROR (MainThread) [homeassistant.components.automation.light_martin_s_bulb_hook] Light: Martin's bulb hook: Choose at step 2: choice 7: Choose at step 1: choice 1: Error executing script. Error for repeat at pos 1: Error rendering data template: TypeError: unsupported operand type(s) for -: 'NoneType' and 'float'
2021-08-19 07:42:48 ERROR (MainThread) [homeassistant.components.automation.light_martin_s_bulb_hook] Light: Martin's bulb hook: Choose at step 2: choice 7: Error executing script. Error for choose at pos 1: Error rendering data template: TypeError: unsupported operand type(s) for -: 'NoneType' and 'float'
2021-08-19 07:42:48 ERROR (MainThread) [homeassistant.components.automation.light_martin_s_bulb_hook] Light: Martin's bulb hook: Error executing script. Error for choose at pos 2: Error rendering data template: TypeError: unsupported operand type(s) for -: 'NoneType' and 'float'
2021-08-19 07:42:48 ERROR (MainThread) [homeassistant.components.automation.light_martin_s_bulb_hook] Error while executing automation automation.light_martin_s_bulb_hook: Error rendering data template: TypeError: unsupported operand type(s) for -: 'NoneType' and 'float'

Automation YAML config

alias: 'Light: Martin''s bulb hook'
description: ''
use_blueprint:
  path: EPMatt/light.yaml
  input:
    light_color_mode: Auto
    controller_device: ab34e11d82f43348c21b2dcb414df71f
    controller_model: IKEA E1743 On/Off Switch & Dimmer
    light: light.martins_bulb
    brightness_steps_long: 30
    brightness_steps_short: 10
    force_brightness: true
    max_brightness: 255
    on_brightness: 1
    smooth_power_on: true
    smooth_power_off: true

To Reproduce

  1. Turn on light
  2. Increase brightness through long press
  3. Decrease brightness through long press until light turns off
  4. See error in log

Expected behavior

No error to be produced
Note: Light does turn off so functionality is as expected

Actual Behaviour

Light turns off but error produced

Additional Details

  • I'd like to help developing a fix for this issue.

Screenshots

No response

Additional context

I attach the YAML for the controller below...

alias: 'Light: Martin''s Light'
description: ''
use_blueprint:
path: EPMatt/ikea_e1743.yaml
input:
integration: ZHA
controller_device: ab34e11d82f43348c21b2dcb414df71f
action_button_up_short:
- type: turn_on
device_id: 11d0ac2a665c0379e906695c16547fe2
entity_id: light.martins_bulb
domain: light
brightness_pct: 1
helper_last_controller_event: input_text.helper_last_controller_event_mt
action_button_down_short:
- type: turn_off
device_id: 11d0ac2a665c0379e906695c16547fe2
entity_id: light.martins_bulb
domain: light
action_button_up_double: []
button_up_long_loop: true
action_button_up_long:
- type: brightness_increase
device_id: 11d0ac2a665c0379e906695c16547fe2
entity_id: light.martins_bulb
domain: light
button_down_long_loop: true
button_down_long_max_loop_repeats: 30
button_up_long_max_loop_repeats: 30
action_button_down_long:
- type: brightness_decrease
device_id: 11d0ac2a665c0379e906695c16547fe2
entity_id: light.martins_bulb
domain: light
action_button_down_double: []
button_down_double_press: false
button_up_double_press: false

Cover Hook

Description

Implement a Hook for controlling covers with any of the supported controllers.

Implementation

Additional Details

  • I'd like to help developing this blueprint
  • I've found a blueprint/automation not included in this project which achieves the same/similar goal

Additional context

See #10.

Symfonisk Remote & Media Player: Volume goes all the way to the max in endless loop

Bug Details

  • Blueprint name: ikea_e1744.yaml (Symfonisk) & media_player.yaml
  • Home Assistant Core Version: 2021.3.4
  • Home Assistant Installation Type: Home Assistant Core on Debian Bullseye

Description
When I rotate the dial, the volume goes up all the way to the maximum (or down to the minimum).

Expected behavior
Volume should be adjusted depending on the amount of rotation.

Actual Behaviour
Even with just a slight amount of rotation, the volume keeps going up all the way to the maximum. Depending on the setup, this can get really loud, and depending on the time of day, this tends to significantly annoy the neighbours.

Additional context
I don't understand automations too well, but it looks to me like the sequences for actions "volume_up_repeat" and "volume_down_repeat" are just endless loops (while: '{{ true }}'). Listening to the events with the developer tools, I can see that after rotating the controller, there is an endless stream of volume up or down events. The events continue long after I leave the controller alone, basically until I restart Home Assistant.

Thanks / best regards, Andreas

IKEA E1744 - rotary remote controller doesn't process STOP

Thank you for taking the time to report here! πŸŽ‰

Please don't delete any part of the template, since keeping the provided structure will help maintainers to process your request more rapidly.

This template should only be used to report a bug with a blueprint. If this is not your case, you can choose a different issue template. If you have a question instead, please open a discussion here.

*=required

Bug Details*

  • Blueprint name: Controller IKEA E1744 SYMFONISK Rotary Remote
  • Home Assistant Core Version: 2021.6.6
  • Home Assistant Installation Type: Home Assistant Docker container

Description*

When turning the rotary remote to change volume, the volume keeps going up in an infinite loop.
The stop command is received but never sent to the media player.

Automation YAML config*

alias: Controller - IKEA E1744 SYMFONISK Rotary Remote
description: ''
use_blueprint:
  path: EPMatt/ikea_e1744.yaml
  input:
    integration: deCONZ
    controller_device: f3b7a964a830dff84b9d310e77514c27
    helper_last_controller_event: input_text.symfonisk_controller_helper
    rotate_left_loop: false
    rotate_right_loop: false
variables:
  integration: deCONZ
  rotate_left_loop: false
  rotate_left_max_loop_repeats: 500
  rotate_right_loop: false
  rotate_right_max_loop_repeats: 500
  helper_last_controller_event: input_text.symfonisk_controller_helper
  helper_debounce_delay: 0
  integration_id: '{{ integration | lower }}'
  actions_mapping:
    deconz:
      rotate_left:
        - '3001'
      rotate_stop:
        - '3003'
        - '2003'
      rotate_right:
        - '2001'
      click_short:
        - '1002'
      click_double:
        - '1004'
      click_triple:
        - '1005'
    zha:
      rotate_left:
        - move_1_195
      rotate_stop:
        - stop
      rotate_right:
        - move_0_195
      click_short:
        - toggle
      click_double:
        - step_0_1_0
      click_triple:
        - step_1_1_0
    zigbee2mqtt:
      rotate_left:
        - brightness_move_down
      rotate_stop:
        - brightness_stop
      rotate_right:
        - brightness_move_up
      click_short:
        - toggle
      click_double:
        - brightness_step_up
      click_triple:
        - brightness_step_down
  rotate_left: '{{ actions_mapping[integration_id]["rotate_left"] }}'
  rotate_stop: '{{ actions_mapping[integration_id]["rotate_stop"] }}'
  rotate_right: '{{ actions_mapping[integration_id]["rotate_right"] }}'
  click_short: '{{ actions_mapping[integration_id]["click_short"] }}'
  click_double: '{{ actions_mapping[integration_id]["click_double"] }}'
  click_triple: '{{ actions_mapping[integration_id]["click_triple"] }}'
  controller_entity: ''
  controller_device: f3b7a964a830dff84b9d310e77514c27
  controller_id: >-
    {% if integration_id=="zigbee2mqtt" %}{{controller_entity}}{% else
    %}{{controller_device}}{% endif %}
mode: restart
max_exceeded: silent
trigger:
  - platform: event
    event_type: state_changed
    event_data:
      entity_id: ''
  - platform: event
    event_type:
      - zha_event
      - deconz_event
    event_data:
      device_id: f3b7a964a830dff84b9d310e77514c27
condition:
  - condition: and
    conditions:
      - >-
        {%- set trigger_action -%} {%- if integration_id == "zigbee2mqtt" -%} {{
        trigger.event.data.new_state.state }} {%- elif integration_id ==
        "deconz" -%} {{ trigger.event.data.event }} {%- elif integration_id ==
        "zha" -%} {{ trigger.event.data.command }}{{"_" if
        trigger.event.data.args|length > 0}}{{ trigger.event.data.args|join("_")
        }} {%- endif -%} {%- endset -%} {{ trigger_action not in ["","None"] }}
      - >-
        {{ integration_id != "zigbee2mqtt" or trigger.event.data.new_state.state
        != trigger.event.data.old_state.state }}
action:
  - delay:
      milliseconds: 0
  - variables:
      trigger_action: >-
        {%- if integration_id == "zigbee2mqtt" -%} {{
        trigger.event.data.new_state.state }} {%- elif integration_id ==
        "deconz" -%} {{ trigger.event.data.event }} {%- elif integration_id ==
        "zha" -%} {{ trigger.event.data.command }}{{"_" if
        trigger.event.data.args|length > 0}}{{ trigger.event.data.args|join("_")
        }} {%- endif -%}
      trigger_delta: >-
        {{ (as_timestamp(now()) -
        as_timestamp((states(helper_last_controller_event) |
        from_json).last_triggered if helper_last_controller_event is not none
        and (states(helper_last_controller_event) | regex_match("^\{(\".*\":
        \".*\"(, )?)*\}$")) else "1970-01-01 00:00:00")) * 1000 }}
      last_controller_event: >-
        {{ (states(helper_last_controller_event) | from_json).trigger_action if
        helper_last_controller_event is not none and
        (states(helper_last_controller_event) | regex_match("^\{(\".*\":
        \".*\"(, )?)*\}$")) else "" }}
  - service: input_text.set_value
    data:
      entity_id: input_text.symfonisk_controller_helper
      value: >-
        {{ {"trigger_action":trigger_action,"last_triggered":now()|string} |
        to_json }}
  - choose:
      - conditions: '{{ trigger_action | string in rotate_left }}'
        sequence:
          - event: ahb_controller_event
            event_data:
              controller: '{{ controller_id }}'
              action: rotate_left
          - choose:
              - conditions: '{{ rotate_left_loop }}'
                sequence:
                  - repeat:
                      while: '{{ repeat.index < rotate_left_max_loop_repeats | int }}'
                      sequence: []
            default: []
      - conditions:
          - '{{ trigger_action | string in rotate_stop }}'
          - '{{ last_controller_event in rotate_left }}'
        sequence:
          - event: ahb_controller_event
            event_data:
              controller: '{{ controller_id }}'
              action: rotate_left_stop
          - choose:
              - conditions: []
                sequence: []
      - conditions: '{{ trigger_action | string in rotate_right }}'
        sequence:
          - event: ahb_controller_event
            event_data:
              controller: '{{ controller_id }}'
              action: rotate_right
          - choose:
              - conditions: '{{ rotate_right_loop }}'
                sequence:
                  - repeat:
                      while: '{{ repeat.index < rotate_right_max_loop_repeats | int }}'
                      sequence: []
            default: []
      - conditions:
          - '{{ trigger_action | string in rotate_stop }}'
          - '{{ last_controller_event in rotate_right }}'
        sequence:
          - event: ahb_controller_event
            event_data:
              controller: '{{ controller_id }}'
              action: rotate_right_stop
          - choose:
              - conditions: []
                sequence: []
      - conditions: '{{ trigger_action | string in click_short }}'
        sequence:
          - event: ahb_controller_event
            event_data:
              controller: '{{ controller_id }}'
              action: click_short
          - choose:
              - conditions: []
                sequence: []
      - conditions: '{{ trigger_action | string in click_double }}'
        sequence:
          - event: ahb_controller_event
            event_data:
              controller: '{{ controller_id }}'
              action: click_double
          - choose:
              - conditions: []
                sequence: []
      - conditions: '{{ trigger_action | string in click_triple }}'
        sequence:
          - event: ahb_controller_event
            event_data:
              controller: '{{ controller_id }}'
              action: click_triple
          - choose:
              - conditions: []
                sequence: []
id: '1618526457315'
alias: Controller - IKEA E1744 SYMFONISK Rotary Remote
description: ''

To Reproduce*

Steps to reproduce the issue:

  1. turn the button clockwise
  2. stop turning

Expected behavior*

volume should go up and stops going higher

Actual Behaviour*

Volume keeps going to the max

Additional Details*

  • I'd like to help developing a fix for this issue.

Screenshots

Schermafbeelding 2021-07-04 om 11 14 33

Schermafbeelding 2021-07-04 om 11 15 20

Additional context

Add any other context about the problem here.

Controller - IKEA E1744 SYMFONISK Rotary Remote Zigbee2MQTT Integration Issue

Thank you for taking the time to report here! πŸŽ‰

Please don't delete any part of the template, since keeping the provided structure will help maintainers to process your request more rapidly.

This template should only be used to report a bug with a blueprint. If this is not your case, you can choose a different issue template. If you have a question instead, please open a discussion here.

*=required

Bug Details*

  • Blueprint name: Controller - IKEA E1744 SYMFONISK Rotary Remote
  • Home Assistant Core Version: 2021.5.5
  • Home Assistant Installation Type: Home Assistant OS

Description*

The controller logic for Zigbee2MQTT for the Rotary Remote only supports legacy controls, and when a newer version of the remote is available, the integration will fail, as the activity names are completely different.

I've edited the blueprint to bypass this issue, but this likely needs a rewrite as some of the commands have changed how they work (e.g. rotation when stopped only shows that it stopped now, not which direction it was turning before it stops)
See the Additional Context for my fix.

Automation YAML config*

The YAML code for the automation you're having problems with. This will allow to reproduce your issue.

alias: Dial Control
description: ''
use_blueprint:
path: EPMatt/ikea_e1744.yaml
input:
integration: Zigbee2MQTT
controller_entity: sensor.0x680ae2fffe3df5d8_action
action_rotate_left:
- service: remote.send_command
target:
entity_id: remote.harmony_hub
data:
command: VolumeDown
device: Yamaha AV Receiver
hold_secs: 1.5
action_rotate_right:
- service: remote.send_command
target:
entity_id: remote.harmony_hub
data:
command: VolumeUp
device: Yamaha AV Receiver
hold_secs: 1.5
helper_last_controller_event: input_text.f5d8_dialstate
rotate_right_loop: true
rotate_left_loop: true
action_rotate_left_stop: []

To Reproduce*

Steps to reproduce the issue:

** You need the non-legacy version of the E1744 remote set up through Zigbee2MQTT to replicate this error **

  1. Attempt to use the remote for any function.
  2. Expected behaviour does not occur.

Expected behavior*

In this script it is meant to move the volume of my device up or down based on rotation.
I have since corrected my version of the script to fix this, and I am only reporting here so that an updated version of the blueprint is made.

Actual Behaviour*

No activity name matches so the blueprint fails every time.

Additional Details*

  • I'd like to help developing a fix for this issue.

Screenshots

If applicable, add screenshots to help explain your problem.

Additional context

OK so here's what I've determined is happening.
Your version is looking for these commands from Zigbee2MQTT on line 147 onwards:

zigbee2mqtt:
  rotate_left:
  - brightness_move_down
  rotate_left_stop:
  - brightness_stop
  rotate_right:
  - brightness_move_up
  rotate_right_stop:
  - brightness_stop
  click_short:
  - toggle
  click_double:
  - brightness_step_up
  click_triple:
  - brightness_step_down

but in reality it is getting a whole different set of commands. this is poorly documented on Zigbee2MQTT so I'm unsurprised it's been missed.

this is what I've done to make the code work:

zigbee2mqtt:
  rotate_left:
  - rotate_left
  rotate_left_stop:
  - rotate_stop
  rotate_right:
  - rotate_right
  rotate_right_stop:
  - rotate_right_stop   ### This is just inserted so that there is a non-blank value and is not an actual command the remote sends
  click_short:
  - play_pause
  click_double:
  - skip_forward
  click_triple:
  - skip_backward

It looks as though you may need to insert a toggle for Zigbee2MQTT to switch between legacy and non-legacy modes for this controller, and if the stop commands are needed for both ways, some additional logic or emulation is probably going to be needed in code.

I hope this helps, I'm just a hobbyist, but I noticed this hadn't been picked up and probably needed a patch.

IKEA E1810 long press not working correctly

Thank you for taking the time to report here! πŸŽ‰

Please don't delete any part of the template, since keeping the provided structure will help maintainers to process your request more rapidly.

This template should only be used to report a bug with a blueprint. If this is not your case, you can choose a different issue template. If you have a question instead, please open a discussion here.

*=required

Bug Details*

  • Blueprint name: IKEA E1524/E1810 5-Button Remote
  • Home Assistant Core Version: 2021.4.6
  • Home Assistant Installation Type: Home Assistant OS

Description*

Long pressing the center, left or right button does not work as intended. The up and down button work fine.

Automation YAML config*

alias: Controller - Tisch
description: ''
use_blueprint:
  path: EPMatt/ikea_e1524_e1810.yaml
  input:
    integration: deCONZ
    controller_device: 17bb609d7a03b50403259f3adf62aff3
    action_button_down_long:
      - type: toggle
        device_id: a25e30293914d399998ffde669c069b7
        entity_id: light.bild_n
        domain: light
    action_button_center_long:
      - type: toggle
        device_id: a25e30293914d399998ffde669c069b7
        entity_id: light.bild_n
        domain: light
    action_button_left_long:
      - type: toggle
        device_id: a25e30293914d399998ffde669c069b7
        entity_id: light.bild_n
        domain: light
    action_button_right_long:
      - type: toggle
        device_id: a25e30293914d399998ffde669c069b7
        entity_id: light.bild_n
        domain: light
    action_button_up_long:
      - type: toggle
        device_id: a25e30293914d399998ffde669c069b7
        entity_id: light.bild_n
        domain: light
    action_button_left_short:
      - type: toggle
        device_id: 5c34876c756d5d1b68c3203d6a140171
        entity_id: light.tisch_fenster_n
        domain: light
    action_button_right_short:
      - type: toggle
        device_id: 5c34876c756d5d1b68c3203d6a140171
        entity_id: light.tisch_fenster_n
        domain: light
    action_button_up_short:
      - type: toggle
        device_id: 5c34876c756d5d1b68c3203d6a140171
        entity_id: light.tisch_fenster_n
        domain: light
    action_button_down_short:
      - type: toggle
        device_id: 5c34876c756d5d1b68c3203d6a140171
        entity_id: light.tisch_fenster_n
        domain: light
    action_button_center_short:
      - type: toggle
        device_id: 5c34876c756d5d1b68c3203d6a140171
        entity_id: light.tisch_fenster_n
        domain: light

To Reproduce*

Steps to reproduce the issue:

  1. Set up above automation
  2. Press a button on the remote
  3. See error

Expected behavior*

Any short press toggles light.tisch_fenster_n, any long press toggles light.bild_n once.

Actual Behaviour*

Any short press toggles light.tisch_fenster_n βœ”οΈ
Long pressing the up or down button toggles light.bild_n once βœ”οΈ
Long pressing the left or right button continually toggles light.tisch_fenster_n for as long as the button is pressed ❌
Long pressing the center button toggles light.tisch_fenster_n instantly and (assuming you keep it pressed for that long) approx. 4 seconds later toggles light.bild_n ❌

Additional Details*

The E1810 is brand new.

Screenshots

If applicable, add screenshots to help explain your problem.

Additional context

Add any other context about the problem here.

Controller blueprint for Philips Hue Smart Button

Thank you for taking the time to report here! πŸŽ‰

Please don't delete any part of the template, since keeping the provided structure will help maintainers to process your request more rapidly.

This template should only be used to propose a new blueprint. If this is not your case, you can choose a different issue template. If you have a question instead, please open a discussion here.

*=required

Description*

Support for the Philips Hue Smart Button
I can help test/debug with ZHA.

Implementation

I'll leave this to @EPMatt, a good dev and a kind person. :)

Here are the events captured via ZHA:

  • Short Press:
Event 2 fired 13:12:
{
    "event_type": "zha_event",
    "data": {
        "device_ieee": "00:17:88:01:08:01:9d:c6",
        "unique_id": "00:17:88:01:08:01:9d:c6:1:0x0006",
        "device_id": "4dadf10a8f3c9622ba53aff053a732c8",
        "endpoint_id": 1,
        "cluster_id": 6,
        "command": "off_with_effect",
        "args": [
            0,
            0
        ]
    },
    "origin": "LOCAL",
    "time_fired": "2021-05-19T11:12:24.207368+00:00",
    "context": {
        "id": "c10abd0a1e22778f3ffc3b67bc0ea1a8",
        "parent_id": null,
        "user_id": null
    }
}
Event 1 fired 13:12:
{
    "event_type": "zha_event",
    "data": {
        "device_ieee": "00:17:88:01:08:01:9d:c6",
        "unique_id": "00:17:88:01:08:01:9d:c6:1:0xfc00",
        "device_id": "4dadf10a8f3c9622ba53aff053a732c8",
        "endpoint_id": 1,
        "cluster_id": 64512,
        "command": "on_press",
        "args": {
            "button": "on",
            "press_type": "press",
            "command_id": 0,
            "args": [
                1,
                3145728,
                0,
                33,
                0,
                0
            ]
        }
    },
    "origin": "LOCAL",
    "time_fired": "2021-05-19T11:12:24.140272+00:00",
    "context": {
        "id": "1282b8d1f1e1c3a3a7c52ba7fbc203b5",
        "parent_id": null,
        "user_id": null
    }
}
Event 0 fired 13:12:
{
    "event_type": "zha_event",
    "data": {
        "device_ieee": "00:17:88:01:08:01:9d:c6",
        "unique_id": "00:17:88:01:08:01:9d:c6:1:0xfc00",
        "device_id": "4dadf10a8f3c9622ba53aff053a732c8",
        "endpoint_id": 1,
        "cluster_id": 64512,
        "command": "on_short_release",
        "args": {
            "button": "on",
            "press_type": "short_release",
            "command_id": 0,
            "args": [
                1,
                3145728,
                2,
                33,
                0,
                0
            ]
        }
    },
    "origin": "LOCAL",
    "time_fired": "2021-05-19T11:12:23.905872+00:00",
    "context": {
        "id": "6f9efa9c8b103a1672a6de68200ae940",
        "parent_id": null,
        "user_id": null
    }
}
  • Long Press:
Event 5 fired 13:15:
{
    "event_type": "zha_event",
    "data": {
        "device_ieee": "00:17:88:01:08:01:9d:c6",
        "unique_id": "00:17:88:01:08:01:9d:c6:1:0x0008",
        "device_id": "4dadf10a8f3c9622ba53aff053a732c8",
        "endpoint_id": 1,
        "cluster_id": 8,
        "command": "stop",
        "args": []
    },
    "origin": "LOCAL",
    "time_fired": "2021-05-19T11:15:47.001521+00:00",
    "context": {
        "id": "866ac2a114985a76df8595ca26aace15",
        "parent_id": null,
        "user_id": null
    }
}
Event 4 fired 13:15:
{
    "event_type": "zha_event",
    "data": {
        "device_ieee": "00:17:88:01:08:01:9d:c6",
        "unique_id": "00:17:88:01:08:01:9d:c6:1:0xfc00",
        "device_id": "4dadf10a8f3c9622ba53aff053a732c8",
        "endpoint_id": 1,
        "cluster_id": 64512,
        "command": "on_long_release",
        "args": {
            "button": "on",
            "press_type": "long_release",
            "command_id": 0,
            "args": [
                1,
                3145728,
                3,
                33,
                12,
                0
            ]
        }
    },
    "origin": "LOCAL",
    "time_fired": "2021-05-19T11:15:46.983974+00:00",
    "context": {
        "id": "1b4b1810da22f67d85cbbe8a3b02f9aa",
        "parent_id": null,
        "user_id": null
    }
}
Event 3 fired 13:15:
{
    "event_type": "zha_event",
    "data": {
        "device_ieee": "00:17:88:01:08:01:9d:c6",
        "unique_id": "00:17:88:01:08:01:9d:c6:1:0x0008",
        "device_id": "4dadf10a8f3c9622ba53aff053a732c8",
        "endpoint_id": 1,
        "cluster_id": 8,
        "command": "step",
        "args": [
            1,
            56,
            9
        ]
    },
    "origin": "LOCAL",
    "time_fired": "2021-05-19T11:15:46.973192+00:00",
    "context": {
        "id": "ef4c84172e8b2d7b63112419aa2a2d88",
        "parent_id": null,
        "user_id": null
    }
}
Event 2 fired 13:15:
{
    "event_type": "zha_event",
    "data": {
        "device_ieee": "00:17:88:01:08:01:9d:c6",
        "unique_id": "00:17:88:01:08:01:9d:c6:1:0xfc00",
        "device_id": "4dadf10a8f3c9622ba53aff053a732c8",
        "endpoint_id": 1,
        "cluster_id": 64512,
        "command": "on_hold",
        "args": {
            "button": "on",
            "press_type": "hold",
            "command_id": 0,
            "args": [
                1,
                3145728,
                1,
                33,
                8,
                0
            ]
        }
    },
    "origin": "LOCAL",
    "time_fired": "2021-05-19T11:15:46.557699+00:00",
    "context": {
        "id": "d51041c679b12028c6386768710c73d3",
        "parent_id": null,
        "user_id": null
    }
}
Event 1 fired 13:15:
{
    "event_type": "zha_event",
    "data": {
        "device_ieee": "00:17:88:01:08:01:9d:c6",
        "unique_id": "00:17:88:01:08:01:9d:c6:1:0x0008",
        "device_id": "4dadf10a8f3c9622ba53aff053a732c8",
        "endpoint_id": 1,
        "cluster_id": 8,
        "command": "step",
        "args": [
            1,
            30,
            9
        ]
    },
    "origin": "LOCAL",
    "time_fired": "2021-05-19T11:15:46.125730+00:00",
    "context": {
        "id": "a6945edd98872408ae9e49a0030caa0a",
        "parent_id": null,
        "user_id": null
    }
}
Event 0 fired 13:15:
{
    "event_type": "zha_event",
    "data": {
        "device_ieee": "00:17:88:01:08:01:9d:c6",
        "unique_id": "00:17:88:01:08:01:9d:c6:1:0xfc00",
        "device_id": "4dadf10a8f3c9622ba53aff053a732c8",
        "endpoint_id": 1,
        "cluster_id": 64512,
        "command": "on_press",
        "args": {
            "button": "on",
            "press_type": "press",
            "command_id": 0,
            "args": [
                1,
                3145728,
                0,
                33,
                0,
                0
            ]
        }
    },
    "origin": "LOCAL",
    "time_fired": "2021-05-19T11:15:46.044413+00:00",
    "context": {
        "id": "104adc1c91867ea8d743fdf71386ab37",
        "parent_id": null,
        "user_id": null
    }
}
  • Double Press:
Event 3 fired 13:17:
{
    "event_type": "zha_event",
    "data": {
        "device_ieee": "00:17:88:01:08:01:9d:c6",
        "unique_id": "00:17:88:01:08:01:9d:c6:1:0x0006",
        "device_id": "4dadf10a8f3c9622ba53aff053a732c8",
        "endpoint_id": 1,
        "cluster_id": 6,
        "command": "off_with_effect",
        "args": [
            0,
            0
        ]
    },
    "origin": "LOCAL",
    "time_fired": "2021-05-19T11:17:56.948705+00:00",
    "context": {
        "id": "63666c84509a66f858e028661086e97f",
        "parent_id": null,
        "user_id": null
    }
}
Event 2 fired 13:17:
{
    "event_type": "zha_event",
    "data": {
        "device_ieee": "00:17:88:01:08:01:9d:c6",
        "unique_id": "00:17:88:01:08:01:9d:c6:1:0xfc00",
        "device_id": "4dadf10a8f3c9622ba53aff053a732c8",
        "endpoint_id": 1,
        "cluster_id": 64512,
        "command": "on_double_press",
        "args": {
            "button": "on",
            "press_type": "double_press",
            "command_id": 0,
            "args": [
                1,
                3145728,
                0,
                33,
                0,
                0
            ]
        }
    },
    "origin": "LOCAL",
    "time_fired": "2021-05-19T11:17:56.886489+00:00",
    "context": {
        "id": "ad4c8f1cf977adcd3bf0af175b1562bf",
        "parent_id": null,
        "user_id": null
    }
}
Event 1 fired 13:17:
{
    "event_type": "zha_event",
    "data": {
        "device_ieee": "00:17:88:01:08:01:9d:c6",
        "unique_id": "00:17:88:01:08:01:9d:c6:1:0xfc00",
        "device_id": "4dadf10a8f3c9622ba53aff053a732c8",
        "endpoint_id": 1,
        "cluster_id": 64512,
        "command": "on_short_release",
        "args": {
            "button": "on",
            "press_type": "short_release",
            "command_id": 0,
            "args": [
                1,
                3145728,
                2,
                33,
                0,
                0
            ]
        }
    },
    "origin": "LOCAL",
    "time_fired": "2021-05-19T11:17:56.642102+00:00",
    "context": {
        "id": "181548aa515db31cad60cdd7a4e28f13",
        "parent_id": null,
        "user_id": null
    }
}
Event 0 fired 13:17:
{
    "event_type": "zha_event",
    "data": {
        "device_ieee": "00:17:88:01:08:01:9d:c6",
        "unique_id": "00:17:88:01:08:01:9d:c6:1:0xfc00",
        "device_id": "4dadf10a8f3c9622ba53aff053a732c8",
        "endpoint_id": 1,
        "cluster_id": 64512,
        "command": "on_short_release",
        "args": {
            "button": "on",
            "press_type": "short_release",
            "command_id": 0,
            "args": [
                1,
                3145728,
                2,
                33,
                0,
                0
            ]
        }
    },
    "origin": "LOCAL",
    "time_fired": "2021-05-19T11:17:56.439965+00:00",
    "context": {
        "id": "65d8bccd554a5ceb2ba115bca182c30b",
        "parent_id": null,
        "user_id": null
    }
}
  • Triple Press:
Event 5 fired 13:19:
{
    "event_type": "zha_event",
    "data": {
        "device_ieee": "00:17:88:01:08:01:9d:c6",
        "unique_id": "00:17:88:01:08:01:9d:c6:1:0x0006",
        "device_id": "4dadf10a8f3c9622ba53aff053a732c8",
        "endpoint_id": 1,
        "cluster_id": 6,
        "command": "off_with_effect",
        "args": [
            0,
            0
        ]
    },
    "origin": "LOCAL",
    "time_fired": "2021-05-19T11:19:09.808878+00:00",
    "context": {
        "id": "a9461ba63147883221b379210c5b5d57",
        "parent_id": null,
        "user_id": null
    }
}
Event 4 fired 13:19:
{
    "event_type": "zha_event",
    "data": {
        "device_ieee": "00:17:88:01:08:01:9d:c6",
        "unique_id": "00:17:88:01:08:01:9d:c6:1:0xfc00",
        "device_id": "4dadf10a8f3c9622ba53aff053a732c8",
        "endpoint_id": 1,
        "cluster_id": 64512,
        "command": "on_triple_press",
        "args": {
            "button": "on",
            "press_type": "triple_press",
            "command_id": 0,
            "args": [
                1,
                3145728,
                0,
                33,
                0,
                0
            ]
        }
    },
    "origin": "LOCAL",
    "time_fired": "2021-05-19T11:19:09.724695+00:00",
    "context": {
        "id": "a077119e49ab5cbdec492489060bcb36",
        "parent_id": null,
        "user_id": null
    }
}
Event 3 fired 13:19:
{
    "event_type": "zha_event",
    "data": {
        "device_ieee": "00:17:88:01:08:01:9d:c6",
        "unique_id": "00:17:88:01:08:01:9d:c6:1:0xfc00",
        "device_id": "4dadf10a8f3c9622ba53aff053a732c8",
        "endpoint_id": 1,
        "cluster_id": 64512,
        "command": "on_short_release",
        "args": {
            "button": "on",
            "press_type": "short_release",
            "command_id": 0,
            "args": [
                1,
                3145728,
                2,
                33,
                1,
                0
            ]
        }
    },
    "origin": "LOCAL",
    "time_fired": "2021-05-19T11:19:09.505610+00:00",
    "context": {
        "id": "9a9580f51fdc6cbfcfc0aed43cf4a7a9",
        "parent_id": null,
        "user_id": null
    }
}
Event 2 fired 13:19:
{
    "event_type": "zha_event",
    "data": {
        "device_ieee": "00:17:88:01:08:01:9d:c6",
        "unique_id": "00:17:88:01:08:01:9d:c6:1:0x0006",
        "device_id": "4dadf10a8f3c9622ba53aff053a732c8",
        "endpoint_id": 1,
        "cluster_id": 6,
        "command": "on",
        "args": []
    },
    "origin": "LOCAL",
    "time_fired": "2021-05-19T11:19:09.455537+00:00",
    "context": {
        "id": "72d45ef80c43b51425d46f9d40966873",
        "parent_id": null,
        "user_id": null
    }
}
Event 1 fired 13:19:
{
    "event_type": "zha_event",
    "data": {
        "device_ieee": "00:17:88:01:08:01:9d:c6",
        "unique_id": "00:17:88:01:08:01:9d:c6:1:0xfc00",
        "device_id": "4dadf10a8f3c9622ba53aff053a732c8",
        "endpoint_id": 1,
        "cluster_id": 64512,
        "command": "on_short_release",
        "args": {
            "button": "on",
            "press_type": "short_release",
            "command_id": 0,
            "args": [
                1,
                3145728,
                2,
                33,
                0,
                0
            ]
        }
    },
    "origin": "LOCAL",
    "time_fired": "2021-05-19T11:19:09.156316+00:00",
    "context": {
        "id": "7f237ad388947d17b7a8b45f843c9c59",
        "parent_id": null,
        "user_id": null
    }
}
Event 0 fired 13:19:
{
    "event_type": "zha_event",
    "data": {
        "device_ieee": "00:17:88:01:08:01:9d:c6",
        "unique_id": "00:17:88:01:08:01:9d:c6:1:0xfc00",
        "device_id": "4dadf10a8f3c9622ba53aff053a732c8",
        "endpoint_id": 1,
        "cluster_id": 64512,
        "command": "on_short_release",
        "args": {
            "button": "on",
            "press_type": "short_release",
            "command_id": 0,
            "args": [
                1,
                3145728,
                2,
                33,
                0,
                0
            ]
        }
    },
    "origin": "LOCAL",
    "time_fired": "2021-05-19T11:19:08.952849+00:00",
    "context": {
        "id": "3a4d5d9d9bf33de24f4079824071192e",
        "parent_id": null,
        "user_id": null
    }
}

Additional Details*

  • I'd like to help developing this blueprint
  • I've found a blueprint/automation not included in this project which achieves the same/similar goal

Additional context

Ikea E1743 only respond to short press

Thank you for taking the time to report here! πŸŽ‰

Please don't delete any part of the template, since keeping the provided structure will help maintainers to process your request more rapidly.

This template should only be used to report a bug with a blueprint. If this is not your case, you can choose a different issue template. If you have a question instead, please open a discussion here.

*=required

Bug Details*

  • Blueprint name: Controller - IKEA E1743 On/Off Switch & Dimmer
  • Home Assistant Core Version: 2021.4.3
  • Home Assistant Installation Type: Home Assistant OS

Description*

I had an automation configured with short, long and double clicks that have been running smoothly for weeks since i set it up.
Currently the automation only fires correctly when removing actions for the long and double clicks and only having short presses configured.
Configuring either long presses or double click actions results in errors in the execution flow.

Below is a screen dump of the error when inspecting the flow.

Automation YAML config*

alias: stue switch
description: Ikea remote som lys styring i stuen
use_blueprint:
  path: EPMatt/ikea_e1743.yaml
  input:
    integration: Zigbee2MQTT
    controller_entity: sensor.stue_switch_action
    action_button_up_short:
      - service: light.turn_on
        target:
          entity_id: light.stue_lamper
        data:
          brightness_pct: 60
    action_button_down_short:
      - service: light.turn_off
        target:
          entity_id: light.stue_lamper
    helper_last_controller_event: input_text.stue_switch_helper
    action_button_up_long:
      - service: light.turn_on
        target:
          entity_id: light.stue_lamper
        data:
          brightness_step_pct: 15
    action_button_up_double:
      - service: light.turn_on
        target:
          entity_id: light.stue_lamper
        data:
          brightness_pct: 15
    action_button_down_long:
      - service: light.turn_on
        target:
          entity_id: light.stue_lamper
        data:
          brightness_step_pct: -15
    action_button_down_double:
      - service: light.turn_off
        target:
          entity_id: light.spisebords_lamper
    button_up_double_press: true
    button_down_double_press: true
    button_up_long_loop: false
    button_down_long_loop: false
    helper_double_press_delay: 1500

To Reproduce*

Steps to reproduce the issue:

  1. Go to '...'
  2. Click on '....'
  3. Trigger the automation '....'
  4. See error

Expected behavior*

That long presses and double clicks fire expected actions

Actual Behaviour*

automation only works when removing actions for long press and double click, otherwise it results in errors

Additional Details*

  • I'd like to help developing a fix for this issue.

Screenshots

Skærmbillede 2021-05-03 kl  20 37 50

Additional context

After browsing the repo i can't help to think it might somehow be related to #25 or this post or perhaps #45

Light Hook: from steps to %

Thank you for taking the time to report here! πŸŽ‰

Please don't delete any part of the template, since keeping the provided structure will help maintainers to process your request more rapidly.

This template should only be used to propose a new feature or enhancement for an existing blueprint. If this is not your case, you can choose a different issue template. If you have a question instead, please open a discussion here.

*=required

Details*

  • Blueprint name: Light Hook

Description*

Consider changing the "steps" approach to a simpler % value, like in the standard automation for lights (see second screenshot). I know it's the same thing, but I think it's easier to understand and intuitive at a first read and it would be more consistent with HA approach.
image

Additional Details*

  • I'd like to help developing this feature/improvement.
  • I've found a blueprint/automation not included in this project which achieves the same/similar goal

[BUG] IKEA E1744 SYMFONISK Rotary Remote

Bug Details

  • Blueprint name: IKEA E1744 SYMFONISK Rotary Remote
  • Home Assistant Core Version: 2021.3.4
  • Home Assistant Installation: Home Assistant OS

Description
The action on "Rotate left" doesn't work if I don't add an action on "Rotate right stop".

To Reproduce
YAML automation which does not work.

alias: Controller - IKEA E1744 SYMFONISK rotary remote
description: ''
use_blueprint:
  path: EPMatt/ikea_e1744.yaml
  input:
    integration: Zigbee2MQTT
    zigbee2mqtt_remote: sensor.tradfri_controller_action
    helper_last_controller_event: input_text.tradfri_controller
    action_click_double: []
    action_click: []
    action_rotate_left:
      - service: script.demo_simple_test
    action_rotate_right: []
    action_rotate_right_stop: []
    action_rotate_left_stop: []
    rotate_left_loop: false
    rotate_right_loop: false

YAML automation which works.

alias: Controller - IKEA E1744 SYMFONISK rotary remote
description: ''
use_blueprint:
  path: EPMatt/ikea_e1744.yaml
  input:
    integration: Zigbee2MQTT
    zigbee2mqtt_remote: sensor.tradfri_controller_action
    helper_last_controller_event: input_text.tradfri_controller
    action_click_double: []
    action_click: []
    action_rotate_left:
      - service: script.demo_simple_test
    action_rotate_right: []
    action_rotate_right_stop:
      - service: script.demo_simple_test
    action_rotate_left_stop: []
    rotate_left_loop: false
    rotate_right_loop: false

Expected behavior
Be able to configure the action "Rotate left" and "Rotate right" without configuring an action on "Rotate right stop".

Additional context
I created an input text in configuration.yaml (in HA) like this:

input_text: 
  tradfri_controller:
    name: Tradfri Controller

zigbee2mqtt/devices.yaml as recommended on zigbee2mqtt.io

'0xabc457fffe679xyz':
  friendly_name: Tradfri Controller
  legacy: false
{"action":"brightness_move_down","action_rate":195,"battery":74,"brightness":128,"linkquality":197,"rate":195,"update":{"state":"idle"},"update_available":false}

Hooks - Multiple configurations for a single controller

Description
I wonder if you will add more options/configurations on your hooks in the future?
Because after my tests, I noticed that some actions are not used/compatible on some of my media devices.

For example, on my TVbox, I don't have "Play/Pause" but I can "Next Track". So, I miss a "Previous Track" :)

IKEA Symfonisk E1744 Logic re-write to prevent looping without stop.

Details*

  • Blueprint name: controllers/ikea_e1744

Description*

I have had issues with my Sonos remote and volume events not stopping after starting, also depending on the debounce values, the delay can feel a bit sluggish sometimes. This task suggests some improvements for consideration and invites users to try it out with their own systems and report back if there are any improvements.

Implementation

This refactor uses the text_input to store rotation active state for both directions independent of each other, improving the general functionality of some devices like the E1744.

The new task will:

  • Add a loop pause feature, where when looping is enabled, a pause can be introduced for each iteration. This will enable further tweaking to be done to the speak of the volume changes.
  • Change the rotation capture and reporting logic so that different rotation directions are tracked separately to improve performance for some remotes.

Additional Details*

  • I'd like to help developing this feature/improvement.
  • I've found a blueprint/automation not included in this project which achieves the same/similar goal

Additional context

Add any other context about the new blueprint here (corner cases which should be handled, different approaches which can be considered, etc.).

[BUG] E1810 TRADFRI remote - long-press on the direction buttons returns entity_id error

Bug Details

  • Blueprint name: Controller - IKEA E1524/E1810 5-Button Remote ikea_e1524_e1810.yaml
  • Home Assistant Core Version: core-2021.4.1
  • Home Assistant Installation Type Home Assistant Container

Description
E1810 TRADFRI remote - long-press on the 4 direction buttons (up/down/left/right) returns Error while executing automation : not a valid value for dictionary value @ data['entity_id']

To Reproduce
Steps to reproduce the behavior:

  1. Create ZHA automation based on ikea_e1524_e1810 blueprint
  2. Set up actions on long press for up/down/left/right(in this case, media player action to select source on a media player device or entity)
  3. Trigger the automation via long button press
  4. Action does not trigger - See error in logs

Expected behavior
The long press should trigger the defined action
In the case of centre-button long press in the blueprint, the action works as expected
Also, setting up a stand-alone automation from blank using device long-press trigger works as expected for the same action
e.g.
image

Actual Behaviour
Action does not trigger - long-press on the 4 direction buttons (up/down/left/right) returns Error while executing automation

Screenshots
Example from automation:
image

Additional context
Logger: homeassistant.components.automation.controller_sonos_remote
Source: components/automation/init.py:504
Integration: Automation (documentation, issues)
First occurred: 3:52:26 PM (8 occurrences)
Last logged: 4:11:12 PM

Error while executing automation automation.controller_sonos_remote: not a valid value for dictionary value @ data['entity_id']

Full log:
2021-04-09 16:11:12 ERROR (MainThread) [homeassistant.components.automation.controller_sonos_remote] Controller - Sonos Remote: Choose at step 2: choice 5: Choose at step 1: choice 1: Error executing script. Invalid data for call_service at pos 1: not a valid value for dictionary value @ data['entity_id']
2021-04-09 16:11:12 ERROR (MainThread) [homeassistant.components.automation.controller_sonos_remote] Controller - Sonos Remote: Choose at step 2: choice 5: Error executing script. Invalid data for choose at pos 1: not a valid value for dictionary value @ data['entity_id']
2021-04-09 16:11:12 ERROR (MainThread) [homeassistant.components.automation.controller_sonos_remote] Controller - Sonos Remote: Error executing script. Invalid data for choose at pos 2: not a valid value for dictionary value @ data['entity_id']
2021-04-09 16:11:12 ERROR (MainThread) [homeassistant.components.automation.controller_sonos_remote] Error while executing automation automation.controller_sonos_remote: not a valid value for dictionary value @ data['entity_id']

JsonDecoderException if double press helper is not a valid json

Thank you for taking the time to report here! πŸŽ‰

Please don't delete any part of the template, since keeping the provided structure will help maintainers to process your request more rapidly.

This template should only be used to report a bug with a blueprint. If this is not your case, you can choose a different issue template. If you have a question instead, please open a discussion here.

*=required

Bug Details*

  • Blueprint name: Maybe all
  • Home Assistant Core Version: no relevant
  • Home Assistant Installation Type not relevant

Description*

If a double press helper is configured and this helper has a non-json value the automation (controller) is not working because a jsondecoder expection is working.

I would suggest to catch such a case and maybe simple ignore this error and handle it the same as the helper is empty or throw a proper error which makes clear the helper is in an incompatible state and should be checked or cleared.

Automation YAML config*

The YAML code for the automation you're having problems with. This will allow to reproduce your issue.

To Reproduce*

Steps to reproduce the issue:

  1. Create helper for double press
  2. Fill helper with random string
  3. Trigger the automation with has double press enabled (i use the shortcut blueprint)
  4. See error in traces

Expected behavior*

  • Ignore the invalid content and replace it with a new one
  • Expose a proper error which indicates the real error (helper is in invalid state)

Actual Behaviour*

Automation is not working.

Additional Details*

  • I'd like to help developing a fix for this issue.

Screenshots

Additional context

Thanks
eloo

New Controller - Philips Hue dimmer switch 929002398602

Manufacturer

Philips/Signify

Model

RWL022

Short Description

New dimmer switch with Hue logo on off button

Image

929002398602

Actions

[Zigbee2MQTT]

Same actions as older models

Additional Details

  • I'd like to help developing this blueprint.

Useful resources

https://www.zigbee2mqtt.io/devices/929002398602.html#philips-929002398602

Pressing on button:
MQTT publish: topic 'zigbee2mqtt/HueDimmer1', payload '{"action":"on_press","battery":100,"linkquality":72}' Info MQTT publish: topic 'zigbee2mqtt/HueDimmer1', payload '{"action":"","battery":100,"linkquality":72}' Info MQTT publish: topic 'zigbee2mqtt/HueDimmer1/action', payload 'on_press' Info MQTT publish: topic 'zigbee2mqtt/HueDimmer1', payload '{"action":"on_press_release","battery":100,"linkquality":72}' Info MQTT publish: topic 'zigbee2mqtt/HueDimmer1', payload '{"action":"","battery":100,"linkquality":72}' Info MQTT publish: topic 'zigbee2mqtt/HueDimmer1/action', payload 'on_press_release'

Text in helper: {"trigger_action": "on_press", "last_triggered": "2021-09-01 22:21:11.461335+02:00"}

Other action names:

  • "on_hold"
  • "up_press"
  • "up_hold"
  • "down_press"
  • "down_hold"
  • "off_press"
  • "off_hold"

Additional context

Looks like the dashes are replaced bij underscores.
Automation is triggered but conditions are not met.
`Result:
result: false
conditions/0

Executed: 2 september 2021 21:13:00
Result:
result: false
entities: []`

Always willing to provide more information but sometimes I need some help with that ;)

On-Off Blueprint: sunrise/sunset plus scene activation

Details*

  • Blueprint name: On-Off

Description*

I love the state persistance concept of the blueprint, but I can't dismiss several automations because they're not based on a specific time but on events like sunset/sunrise (plus offsets).

The standard automation allows this, for example:
image

Another thing I would ask, if possible, is a scene activation option, like in the standard automation:

image

Automation YAML config

If the suggested feature or improvement requires to apply changes to the blueprint inputs section, please provide the sample yaml configuration for an automation using the updated blueprint.

Implementation

If you've an idea on how this could be implemented, post here an informal description of the steps necessary for reaching the wanted goal.

Additional Details*

  • I'd like to help developing this feature/improvement.
  • I've found a blueprint/automation not included in this project which achieves the same/similar goal

Additional context

Add any other context about the new blueprint here (corner cases which should be handled, different approaches which can be considered, etc.).

Controller blueprint for OSRAM Lightify Switch 4x

Thank you for taking the time to report here! πŸŽ‰

Please don't delete any part of the template, since keeping the provided structure will help maintainers to process your request more rapidly.

This template should only be used to propose support for a a new Controller blueprint. If this is not your case, you can choose a different issue template. If you have a question instead, please open a discussion here.

*=required

Controller Information*

  • Manufacturer: OSRAM (also LEDVANCE or SYLVANIA)
  • Model: 74099
  • Short Description: Lightify Switch
  • Image:
    image

Actions

If possible, provide here mappings for actions which can be triggered with this controller.
Specify the integration these mappings refer to. If you want to provide mappings for multiple integrations, you can duplicate the following section as needed.

[ZHA]

  • Button 1 (upper left) short press:
    Event 0 fired 2:05 AM:
{
    "event_type": "zha_event",
    "data": {
        "device_ieee": "00:0d:6f:00:0d:57:9a:f2",
        "unique_id": "00:0d:6f:00:0d:57:9a:f2:1:0x0006",
        "device_id": "5a7a185c3d9358ec0d517e1c7de8a8c3",
        "endpoint_id": 1,
        "cluster_id": 6,
        "command": "on",
        "args": []
    },
    "origin": "LOCAL",
    "time_fired": "2021-05-18T00:05:44.475144+00:00",
    "context": {
        "id": "28b5e81ad6355708bae6e6cab8e5ff65",
        "parent_id": null,
        "user_id": null
    }
}
  • Button 1 (upper left) long press:
Event 1 fired 2:08 AM:
{
    "event_type": "zha_event",
    "data": {
        "device_ieee": "00:0d:6f:00:0d:57:9a:f2",
        "unique_id": "00:0d:6f:00:0d:57:9a:f2:1:0x0008",
        "device_id": "5a7a185c3d9358ec0d517e1c7de8a8c3",
        "endpoint_id": 1,
        "cluster_id": 8,
        "command": "stop",
        "args": []
    },
    "origin": "LOCAL",
    "time_fired": "2021-05-18T00:08:26.760162+00:00",
    "context": {
        "id": "b5b6245655887c2b3ab5c59b14cfb03b",
        "parent_id": null,
        "user_id": null
    }
}
Event 0 fired 2:08 AM:
{
    "event_type": "zha_event",
    "data": {
        "device_ieee": "00:0d:6f:00:0d:57:9a:f2",
        "unique_id": "00:0d:6f:00:0d:57:9a:f2:1:0x0008",
        "device_id": "5a7a185c3d9358ec0d517e1c7de8a8c3",
        "endpoint_id": 1,
        "cluster_id": 8,
        "command": "move",
        "args": [
            1,
            38
        ]
    },
    "origin": "LOCAL",
    "time_fired": "2021-05-18T00:08:25.764356+00:00",
    "context": {
        "id": "83229da68a6be5fccf7ed1cd08a8ab08",
        "parent_id": null,
        "user_id": null
    }
}
  • Button 2 (upper right) short press:
Event 2 fired 2:13 AM:
{
    "event_type": "zha_event",
    "data": {
        "device_ieee": "00:0d:6f:00:0d:57:9a:f2",
        "unique_id": "00:0d:6f:00:0d:57:9a:f2:2:0x0006",
        "device_id": "5a7a185c3d9358ec0d517e1c7de8a8c3",
        "endpoint_id": 2,
        "cluster_id": 6,
        "command": "on",
        "args": []
    },
    "origin": "LOCAL",
    "time_fired": "2021-05-18T00:13:51.631138+00:00",
    "context": {
        "id": "3d122bfb2222e360fcbe4a4dc551497c",
        "parent_id": null,
        "user_id": null
    }
}
  • Button 2 (upper right) long press:
Event 4 fired 2:14 AM:
{
    "event_type": "zha_event",
    "data": {
        "device_ieee": "00:0d:6f:00:0d:57:9a:f2",
        "unique_id": "00:0d:6f:00:0d:57:9a:f2:2:0x0008",
        "device_id": "5a7a185c3d9358ec0d517e1c7de8a8c3",
        "endpoint_id": 2,
        "cluster_id": 8,
        "command": "stop",
        "args": []
    },
    "origin": "LOCAL",
    "time_fired": "2021-05-18T00:14:38.894095+00:00",
    "context": {
        "id": "77f7974f7aabb3fd90ec33723961e0be",
        "parent_id": null,
        "user_id": null
    }
}
Event 3 fired 2:14 AM:
{
    "event_type": "zha_event",
    "data": {
        "device_ieee": "00:0d:6f:00:0d:57:9a:f2",
        "unique_id": "00:0d:6f:00:0d:57:9a:f2:2:0x0008",
        "device_id": "5a7a185c3d9358ec0d517e1c7de8a8c3",
        "endpoint_id": 2,
        "cluster_id": 8,
        "command": "move",
        "args": [
            1,
            38
        ]
    },
    "origin": "LOCAL",
    "time_fired": "2021-05-18T00:14:37.885619+00:00",
    "context": {
        "id": "807d2f08caf7ecbdb7cc09d11f015031",
        "parent_id": null,
        "user_id": null
    }
}
  • Button 3 (lower left) short press:
Event 5 fired 2:15 AM:
{
    "event_type": "zha_event",
    "data": {
        "device_ieee": "00:0d:6f:00:0d:57:9a:f2",
        "unique_id": "00:0d:6f:00:0d:57:9a:f2:3:0x0006",
        "device_id": "5a7a185c3d9358ec0d517e1c7de8a8c3",
        "endpoint_id": 3,
        "cluster_id": 6,
        "command": "on",
        "args": []
    },
    "origin": "LOCAL",
    "time_fired": "2021-05-18T00:15:51.373223+00:00",
    "context": {
        "id": "fec5fac9f1e4d627f39f994ce9f68c42",
        "parent_id": null,
        "user_id": null
    }
}
  • Button 3 (lower left) long press:
Event 7 fired 2:16 AM:
{
    "event_type": "zha_event",
    "data": {
        "device_ieee": "00:0d:6f:00:0d:57:9a:f2",
        "unique_id": "00:0d:6f:00:0d:57:9a:f2:3:0x0008",
        "device_id": "5a7a185c3d9358ec0d517e1c7de8a8c3",
        "endpoint_id": 3,
        "cluster_id": 8,
        "command": "stop",
        "args": []
    },
    "origin": "LOCAL",
    "time_fired": "2021-05-18T00:16:31.291822+00:00",
    "context": {
        "id": "65207494561101159a366d101a3d6dcc",
        "parent_id": null,
        "user_id": null
    }
}
Event 6 fired 2:16 AM:
{
    "event_type": "zha_event",
    "data": {
        "device_ieee": "00:0d:6f:00:0d:57:9a:f2",
        "unique_id": "00:0d:6f:00:0d:57:9a:f2:3:0x0008",
        "device_id": "5a7a185c3d9358ec0d517e1c7de8a8c3",
        "endpoint_id": 3,
        "cluster_id": 8,
        "command": "move",
        "args": [
            1,
            38
        ]
    },
    "origin": "LOCAL",
    "time_fired": "2021-05-18T00:16:30.282827+00:00",
    "context": {
        "id": "77b47ffa39993728054723bf038db641",
        "parent_id": null,
        "user_id": null
    }
}
  • Button 4 (lower right) short press:
Event 8 fired 2:17 AM:
{
    "event_type": "zha_event",
    "data": {
        "device_ieee": "00:0d:6f:00:0d:57:9a:f2",
        "unique_id": "00:0d:6f:00:0d:57:9a:f2:4:0x0006",
        "device_id": "5a7a185c3d9358ec0d517e1c7de8a8c3",
        "endpoint_id": 4,
        "cluster_id": 6,
        "command": "on",
        "args": []
    },
    "origin": "LOCAL",
    "time_fired": "2021-05-18T00:17:33.130455+00:00",
    "context": {
        "id": "1fb87a5b1f0f9fc44ce9e38997e3341a",
        "parent_id": null,
        "user_id": null
    }
}
  • Button 4 (lower right) long press:
Event 10 fired 2:18 AM:
{
    "event_type": "zha_event",
    "data": {
        "device_ieee": "00:0d:6f:00:0d:57:9a:f2",
        "unique_id": "00:0d:6f:00:0d:57:9a:f2:4:0x0008",
        "device_id": "5a7a185c3d9358ec0d517e1c7de8a8c3",
        "endpoint_id": 4,
        "cluster_id": 8,
        "command": "stop",
        "args": []
    },
    "origin": "LOCAL",
    "time_fired": "2021-05-18T00:18:16.640644+00:00",
    "context": {
        "id": "e47cdf255912005842f8faa9a441f01b",
        "parent_id": null,
        "user_id": null
    }
}
Event 9 fired 2:18 AM:
{
    "event_type": "zha_event",
    "data": {
        "device_ieee": "00:0d:6f:00:0d:57:9a:f2",
        "unique_id": "00:0d:6f:00:0d:57:9a:f2:4:0x0008",
        "device_id": "5a7a185c3d9358ec0d517e1c7de8a8c3",
        "endpoint_id": 4,
        "cluster_id": 8,
        "command": "move",
        "args": [
            1,
            38
        ]
    },
    "origin": "LOCAL",
    "time_fired": "2021-05-18T00:18:15.637437+00:00",
    "context": {
        "id": "b3f244c785f341cc59e31375e3e5c2a1",
        "parent_id": null,
        "user_id": null
    }
}

Additional Details*

  • I'd like to help developing this blueprint
  • I've found a blueprint/automation not included in this project which integrates this controller

Additional context

Manual: https://fccid.io/2AJRH-LDV74099/User-Manual/User-Manual-3169886.pdf

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.