hassiq
hassiq copied to clipboard
Button Inputs do not work: "The service homeassistant.toggle does not support entities XYZ"
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