Auto-populate scripts in default dashboard

I’ve had a small snag where i couldn’t call a scene from a scene, saw that you should make a script, so I made a script. The script doesn’t show up on the default overview dashboard however.

I’ve only seen people creating whole new dashboards and that’s not something I’m looking forward to right now, I’ve got other priorities, I need to just have the default overview, but have it also include scripts.

Is this something simple I’m overlooking, or do I just ignore scripts for now?

You need to put the script in a card of some kind.

Isn’t that when I’m creating my own dashboard?

Yes. Entities in the default dashboard are in cards too, but scripts are not added automatically.

Thanks, so to my question, does this mean there’s no way to add scripts automatically in the default dashboard?

I don’t think so. I can’t find any docs on the subject, but I imagine it’s because scripts don’t have any agency of their own - they always have to be called by something else, an automation, say, or (in a dashboard) a button. They’re like what we used to call subroutines.

Thanks! Very much appreciated, been weeding through trying to get up to speed with how it all works, so this is very helpful!

Too bad though, now ill have to wait until i get it right, for now, relying on the default dashboard while i set everything up at home.

Thought to use the script since I have to call a scene in a scene sort of, because Tuya RGBWW doesn’t show the WW part, but with a Tuya scene i can set it to use white leds. Using a script then means ill have to dig into developing my own dashboard unfortunately.

A problem for later then, thanks again.

1 Like

What you can do is go to Helpers and add a new Template → Button.

For the action of this button, select to run your script.

Assign the area of this button to the area you want it to appear in the default dashboard.

Then in your default dashboard you’ll have this button you can press that runs the script.

Oi, that actually works! Hey that’s great, now I’ve got loads more functionality until I can get to developing my dashboard :slight_smile: Thank you!