I’m getting this too after updating to 2024.8.x.
Rolling back to 2024.6.x hasn’t resolved the issue. Several of my automation show this with calls ranging from light.turn_on
to scene.turn_on
. Even invoking scripts.
It’s broken about 5 of my automatons at random.
Recreating the action fixes it but, like you, as soon as I exit the automation and open it again for editing it’s back to being “Unknown” and unsupported by the visual editor.
Did you ever find a fix?
EDIT:
Okay, it turns out that rolling back to 2024.6 DID fix this issue of service calls becoming “Unknown” and not supporting the visual editor. It appeared not to at first because the roll-back presented a different (but related) issue.
Some time between 2024.6 and 2024.8, the term service
has been replaced with action
. Where the YAML for a service call in an Automation used to be as follows:
metadata: {}
data:
targets:
- Janes Phone
- Johns Phone
content: Abnormal water activity detected at home
header: Water Alert
service: script.send_alert
it is now:
metadata: {}
data:
targets:
- Janes Phone
- Johns Phone
content: Abnormal water activity detected at home
header: Water Alert
action: script.send_alert
Similarly, the tab to call a service in the Developer tools page has been renamed to “Action”.
When updating to 2024.8, it seems the service calls within various automatons get automatically adjusted to move from service
to action
verbiage. When rolling back to 2024.6, that isn’t reverted (probably to be expected) and so many automatons will appear broken until you go back and replace the verbiage to service
.
It’s possible that it was part of this shift from service
to automation
that is what’s causing the primary issue here of the Visual Editor not recognizing the action blocks in 2024.8. Maybe during the rename, a bit of code got missed and now there are certain instances in which it is looking for the old naming and not finding it, causing the visual editor to break?
Either way, for now I’m going to stay on 2024.6 and hole up there until a few more releases, or until there is some activity here. Hopefully this added detail gets us that much closer to a fix.