lovelace-auto-entities
lovelace-auto-entities copied to clipboard
Feature Request: hide toggle switches for automations
I want to show in the list when an automation was last triggered, which is easy enough, but it shows the automation switch and I was wondering if there was a way to hide this? I use the card to create a single list of alerts and want to show when motion was last detected outside (recent spate of break-ins locally) in the list.
When using a conventional Entities card with conventional rows, a row for the automation domain will be always shown with a toggle.
If you do not need to show a toggle, your possible options are:
- Hide a toggle by card-mod (goto Community card-mod thread for details).
- Use a custom
template-entity-rowfor an automation's row (gototemplate-entity-rowgithub repo for examples).
Thanks for your help! I also thought about creating a sensor from the automation last triggered attribute as this would give the same result. If I can’t sort out the card-mod, I’ll try that. Thanks again!