Skip to content
Get started

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