Thank you. So I switched the tap to be default action, I dont get the error anymore. But I do get a pop up. I would want it to execute without a pop up. I manually edited the code to be Action: Activate but that gave me an error.
That’s what will happen when you use default with a scene entity.
According to the last line of the documentation for tap_action’s action, the default setting will produce the more-info panel (the pop up) for entities that do not support toggle (like a scene entity).
action string Required
Action to perform (more-info, toggle, call-service, navigate, url, none)
Default: toggle (some cards overwrite default to more-info if the provided entity cannot be toggled)
There’s simply no way to toggle a scene so the best you can do is turn it on. If that’s acceptable, you’ll need to use call-service with service_data. Something like this:
Please consider marking my post above with the Solution tag. It will automatically place a check-mark next to the topic’s title which signals to other users that this topic has been resolved. It will also place a link below your first post that leads to the solution post. All of this helps users find answers to similar questions.
Weirdly enough, using “target” instead of “service_data” does not work - it complains about missing entity_id, even though it’s there.
I guess the then-new format was service_data instead?
Also, I think it’s worth pointing out that toggle DOES work on a button card - but not in other places. This is VERY weird, but not that surprising since I’m already getting used to require Google whenever I’m working in my HA setup lol