Hi all,
I have a Dashboard with two pages, one for my Automations and one for my Scripts. Is there a way to automatically add new Automations and Scripts I create in those pages?
Hi all,
I have a Dashboard with two pages, one for my Automations and one for my Scripts. Is there a way to automatically add new Automations and Scripts I create in those pages?
Use the auto-entities custom component from HACS
I have this for listing all automations
card:
title: Automations
type: entities
filter:
include:
- domain: automation
options:
secondary_info: last-triggered
sort:
method: name
type: custom:auto-entities
It should be similar for scripts
Thank you, it’s what I was looking for. However I don’t understand how can I put the entities in an horizontal stack.
I want to put automation from A to D on one card, then from E to L in another card and so on so I have different horizontal card instead of a long vertical list.
Here is what I have using the custom auto-entities card and the fold card so it doesn’t take up space unless I open it:
card:
head:
label: Automations
type: section
type: custom:fold-entity-row
filter:
include:
- domain: automation
sort:
method: name
type: custom:auto-entities
You can just remove the fold card bit if you are happy with a big list of all your automations always on display.
Another way with the auto-entities card to get what you are chasing:
type: custom:auto-entities
card:
type: entities
show_header_toggle: false
filter:
include:
- entity_id: automation.a*
- entity_id: automation.b*
which will then only give you automations that start with the letter ‘a’, then ‘b’. You can continue it on with other letters as you wish.
Put a few of these in a horizontal stack or just place them next to each other on the dashboard.
Thanks everyone I’ve got what I need.