home-assistant / frontend

:lollipop: Frontend for Home Assistant
https://demo.home-assistant.io
Other
4.06k stars 2.78k forks source link

Targets missing in automation 'Then Do' when selecting a switch, etc. #21674

Closed lewisburgess closed 2 months ago

lewisburgess commented 2 months ago

Checklist

Describe the issue you are experiencing

Since upgrading to 2024.8, I no longer see the target selection in the GUI when creating/editing automations and selecting a switch as a target. I am able to see it for a light target.

I can edit the YAML and this works, but the 4 target buttons do not appear for a switch target.

image

Describe the behavior you expected

I should be able to see switch target buttons

Steps to reproduce the issue

Settings Automations & Scenes Automations Create Automation Create new automation Add a trigger (eg. select a motion sensor) Under 'Then do', select Add Action Select Switch Select Toggle or Turn off, or Turn on (none show the target selection)

What version of Home Assistant Core has the issue?

2024.8.1

What was the last working version of Home Assistant Core?

2024.7

In which browser are you experiencing the issue with?

Google Chrome 127.0.6533.100, Edge 127.0.2651.98, Firefox 129.0

Which operating system are you using to run this browser?

Windows 11 and Windows 10

State of relevant entities

N/A

Problem-relevant frontend configuration

N/A

Javascript errors shown in your browser console/inspector

No error logs listed in the browser developer tools / console in each test of various browsers.

Additional information

lewisburgess commented 2 months ago

Restarted in Safe Mode Target buttons now work Restarted in 'normal mode' Target buttons still working

Odd! I had already restarted HA and the server previously.

karwosts commented 2 months ago

Closing as this sounds resolved. Probably just a browser caching issue after an update. Please update if the problem returns.