I want simplify how I access the Automation Dashboard. Instead of going to configuration then automation can I create a shortcut link in the entity card to takes me directly to the automation dashboard? Is it also possible to have reload automation shortcut in the same entity card?
You can’t change the tap/hold actions of the entity card unfortunately (maybe worth a feature request?)
Here’s a way to achieve it with some tweaking:
elements:
- entity: sensor.automation_shortcut
type: 'custom:hui-entity-card'
style:
left: 50%
top: 50%
width: 100%
height: 100%
- image: /local/100x20.png
style:
height: 100%
left: 50%
top: 50%
width: 100%
hold_action:
action: call-service
service: automation.reload
tap_action:
action: navigate
navigation_path: /config/automation/dashboard
type: image
image: /local/100x20.png
type: picture-elements
Requirements:
- template sensor with the above entity_id (sensor.automation_shortcut or whatever you want it to be)
- platform: template
sensors:
automation_shortcut:
value_template: "Automations"
icon_template: 'mdi:robot'
friendly_name: "Automations"
- a 100x20 transparent png in your www folder (or any subfolder)
download below
1 Like