hassiq icon indicating copy to clipboard operation
hassiq copied to clipboard

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

Open 0x53A opened this issue 2 years ago • 0 comments

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

0x53A avatar Apr 10 '22 01:04 0x53A