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 entrybutton: - platform: template name: "Template Button" on_press: - logger.log: Button PressedConfiguration variables
Section titled “Configuration variables”- All options from Button.