Template Button

The template button platform allows you to create simple buttons out of just actions. Once defined, it will automatically appear in Home Assistant as a button and can be controlled through the frontend.

# Example configuration entry
button:
  - platform: template
    name: "Template Button"
    on_press:
      - logger.log: Button Pressed

Configuration variables: Copy link to header

See Also Copy link to header

CURRENT