The new addition of Buttons is great. But as stated in the documentation, you cannot manually create buttons. I think being able to add buttons as a “helper” would be valuable.
My use case:
I would love to create buttons and assign them to certain events from zigbee/zwave buttons (1 click/2 click/hold/etc.). Then I could use them in automations which would be simpler to read/implement.
The feature is currently implemented
home-assistant:dev
← home-assistant:frenck-2021-3297
opened 03:14PM - 19 Dec 21 UTC
<!--
You are amazing! Thanks for contributing to our project!
Please, DO N… OT DELETE ANY TEXT from this template! (unless instructed).
-->
## Proposed change
<!--
Describe the big picture of your changes here to communicate to the
maintainers why we should accept this pull request. If it fixes a bug
or resolves a feature request, be sure to link to that issue or discussion
in the additional information section.
-->
Core PR: https://github.com/home-assistant/core/pull/62008
![image](https://user-images.githubusercontent.com/195327/146680081-065ebf03-2e8f-45f7-a9ab-6be9b148d958.png)
![image](https://user-images.githubusercontent.com/195327/146680087-d34c4c17-7cbc-4ca8-80a6-16a345f07ad1.png)
![image](https://user-images.githubusercontent.com/195327/146680109-2c456a2f-2cd1-41a0-b6e8-d88679faaded.png)
![image](https://user-images.githubusercontent.com/195327/146680161-eab61caa-cc7f-4d0b-83f6-864f5e44e599.png)
![image](https://user-images.githubusercontent.com/195327/146680175-1f549442-af3d-4e7b-8586-2782399ddf28.png)
## Type of change
<!--
What type of change does your PR introduce to the Home Assistant frontend?
NOTE: Please, check only 1! box!
If your PR requires multiple boxes to be checked, you'll most likely need to
split it into multiple PRs. This makes things easier and faster to code review.
-->
- [ ] Dependency upgrade
- [ ] Bugfix (non-breaking change which fixes an issue)
- [x] New feature (thank you!)
- [ ] Breaking change (fix/feature causing existing functionality to break)
- [ ] Code quality improvements to existing code or addition of tests
## Additional information
<!--
Details are important, and help maintainers processing your PR.
Please be sure to fill out additional details, if applicable.
-->
- This PR fixes or closes issue: fixes #
- This PR is related to issue or discussion:
- Link to documentation pull request:
## Checklist
<!--
Put an `x` in the boxes that apply. You can also fill these out after
creating the PR. If you're unsure about any of them, don't hesitate to ask.
We're here to help! This is simply a reminder of what we are going to look
for before merging your code.
-->
- [x] The code change is tested and works locally.
- [x] There is no commented out code in this PR.
- [ ] Tests have been added to verify that the new code works.
If user exposed functionality or configuration variables are added/changed:
- [ ] Documentation added/updated for [www.home-assistant.io][docs-repository]
<!--
Thank you for contributing <3
-->
[docs-repository]: https://github.com/home-assistant/home-assistant.io
2 Likes
What version was this implemented in? Looks like the PR is still open.
Sir_Goodenough
((SG) WhatAreWeFixing.Today)
January 18, 2022, 4:11pm
4
Looks like it might be 2022.2. I would check the DEV.