Quantcast
Channel: Configuration - Home Assistant Community
Viewing all articles
Browse latest Browse all 96121

How to trigger an automation with UI button

$
0
0

@luisrival wrote:

Hi

can someone tell me how link this button with the automation? I whant to trigger an automation with one UI button

this is my code:

entity: switch.cuarto_luis
hold_action:
  action: call-service
  service: automation.trigger
show_icon: true
show_name: true
tap_action:
  action: toggle
type: entity-button

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 96121

Trending Articles