Automation actions GUI issue in 2024.8

Hi, I understand that ‘service calls’ are going away and being replaced by actions.

When I add an action in “Then Do” to an automation, select ‘Switch’ and pick the action (e.g. Turn On, Turn Off or Toggle), I cannot pick which switch to take the action on. If I edit the YAML code, I can, but not in the GUI.

GUI:

YAML:
image

Is this intentional or a bug? If it’s a bug, what’s the ‘proper’ way to report it?

Thanks,

Lewis.

You may select any action from this dropdown, and all of them may use own set of arguments.
This one particular “toggle” action (formerly “service”) needs a ”target”.
The Editor may not care about a particular action’s arguments - i.e. they are supposed to be defined by a user.
In short - not a bug.

So how do I set a target from the gui, without editing the YAML?

I think Lldar is confused by your question.

Do you not see the GUI looking like this?

Clicking on the button I circled lets you choose the entity, which is a better way to do than ‘device’.

Perhaps you need to refresh your browser cache.

Hi, no I don’t see the targets selection at all since upgrading to 2024.8 in an automation.

Tried multiple browsers on multiple PCs.

No errors showing in the browser dev tools console.

Tried restarting HA.

Chiming in, should be there (2024.8 here)

If you tried multiple browsers/clients, refreshing your browser/deleting cache will most likely not help either.

Sadly not working for me in Edge or Chrome on multiple PCs.

Are bugs reported on GitHub or in this forum?

Worth saying that it works if I use YAML code. It’s also showing the buttons in a Blueprint.

However maybe your update to HA 2024.8.x didn’t complete properly…?

How can I tell? Everything seems to be fine?

Edge & Chrome use the same browser engine.
Maybe try Firefox or LibreWolf

Offtopic: if you got it working, have a look at Why and how to avoid device_ids in automations and scripts

True, but sometimes there are differences in behaviour. Anyway, not working in Firefox either.

Not sure how to tell to be honest, but it might pay to run a rebuild via the CLI

I restarted in Safe mode. The target buttons appeared for switches in automations ‘then do’ targets.

Restarted out of safe mode. Buttons continue to show (including after clearing cache).

Odd. I had previous restarted HA and the server itself!

1 Like