Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Button Inputs do not work: "The service homeassistant.toggle does not support entities XYZ" #51

Open
0x53A opened this issue Apr 10, 2022 · 0 comments · May be fixed by #52
Open

Button Inputs do not work: "The service homeassistant.toggle does not support entities XYZ" #51

0x53A opened this issue Apr 10, 2022 · 0 comments · May be fixed by #52

Comments

@0x53A
Copy link

0x53A commented Apr 10, 2022

I created a "button" helper and set up an automation to turn off all lights when it's pressed.

When I try to push the button on my watch, nothing happens to the lights and I get the following line in my log:

The service homeassistant.toggle does not support entities input_button.turn_all_lights_off

This makes sense - the button does not have on/off state and can't be toggled, so I'm guessing the type would need to be checked, and if it's type button, a different service needs to be called.


Edit: apparently the correct service is button.press

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant