Skip to content

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

@0x53A

Description

@0x53A

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions