EPMatt / awesome-ha-blueprints

A curated collection of automation blueprints for Home Assistant.
https://epmatt.github.io/awesome-ha-blueprints
GNU General Public License v3.0
862 stars 254 forks source link

IKEA LED2003G10 with IKEA E2001/E2002 Styrbar remote / Zigbee2MQTT #581

Open monsterflo opened 1 year ago

monsterflo commented 1 year ago

Blueprint name

Hook - Light

Home Assistant Core Version

2023.11.2

Home Assistant Installation Type

Home Assistant Supervised

Description

Hello, my Ikea bulbs misbehave for a while now and since it's getting darker outside this issue starts to annoy me again. When dimming or brightening the lights they just keep on going instead of stopping when the remote button is released. I don't know if this connected with an update of Zigbee2MQTT and if the behavour of Z2M changed.

Any help is appreciated.

Thanks in advance Florian

Automation YAML config

alias: Wandlampe Fernbedienung AN-AUS-Helligkeit-Farbe
description: ""
use_blueprint:
  path: EPMatt/ikea_e2001_e2002.yaml
  input:
    integration: Zigbee2MQTT
    controller_device: 21124e381ab0840918bef480453a2c8c
    controller_entity: sensor.zb_remote_eg_kz1_action
    helper_last_controller_event: input_text.zb_remote_kz1_helper

alias: Wandlampe Fernbedienung
description: ""
use_blueprint:
  path: EPMatt/light.yaml
  input:
    controller_device: 21124e381ab0840918bef480453a2c8c
    controller_entity: sensor.zb_remote_eg_kz1_action
    controller_model: IKEA E2001/E2002 STYRBAR Remote control
    light: light.kinderzimmer_wandlampe
    min_brightness: 2
    force_brightness: true
    on_brightness: 5

To Reproduce

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

Expected behavior

stop dimming/brightening when remote button is released

Actual Behaviour

dimming/brightening doesn't stop

Additional Details

Screenshots

No response

Additional context

No response

vasylievd commented 1 year ago

I have the same issue. Hopefully any help comes soon :)

SvenBuis commented 11 months ago

Yeah, i'm having the same issue

jiridostal commented 11 months ago

Hello, I had the same issue and was looking at what could go wrong. I found that one condition to check the previous value of the button pressed does not work as expected. Unfortunately, I don't know why this is happening, but deleting the condition fixes the issue, or at least I did not encounter any side behavior. Basically detection of last last pressed button for triggering the correct "release" action is now disabled. Feel free to try my fix and propose a better solution https://github.com/EPMatt/awesome-ha-blueprints/pull/584.

Nelus2311 commented 11 months ago

I have the same issue. Tested you're solution and it work's. Thanks!

peyn commented 10 months ago

Had the same issue. Solution provided by @jiridostal worked for me, too. Thank you.

FredericG-BE commented 10 months ago

The proposed solution works for me too, thanks!

klimeryk commented 10 months ago

Same issue here - and the fix indeed works ❤️ Thank you!

Sab3rRid3r commented 10 months ago

Worked for me too, thanks!

return666evil commented 9 months ago

@jiridostal Same issue here, I was struggling with it for 3 days until I found the solution here. THANK YOU! ❤️ ❤️ ❤️