awesome-ha-blueprints icon indicating copy to clipboard operation
awesome-ha-blueprints copied to clipboard

IKEA_e2001_e2002 - Remove condition to check which button was released to trigger releas…

Open jiridostal opened this issue 1 year ago • 2 comments

Proposed change

This PR removes a condition to check for the last value in the "input_text" to detect which button was pressed. This may not be an optimal solution and updating this PR with a new, working condition could be required. I did not figure out why the condition did not act as expected. Any contributions are welcome. This eventually closes #581

Checklist

  • [ x ] I followed sections of the Contribution Guidelines relevant to changes I'm proposing.
  • [ x ] I properly tested proposed changes on my system and confirm that they are working as expected.
  • [ x ] I formatted files with Prettier using the command npm run format before submitting my Pull Request.

jiridostal avatar Dec 07 '23 21:12 jiridostal

Hey @jiridostal, thank you so much for your contribution! 🚀

🔄 We're currently running a few checks to make sure that everything is great with your contribution. If further actions need to be performed before your contribution can be reviewed, additional guidance will be provided to you in the next comment.

Results are coming soon, stay tuned!

github-actions[bot] avatar Dec 07 '23 21:12 github-actions[bot]

Thanks, this solved the issue for me where the release hook would not be triggered when releasing after long press. I'm using the STYRBAR remote via Zigbee2MQTT.

mkopec avatar Feb 07 '24 23:02 mkopec