Link Search Menu Expand Document

CodeGenerator for button(s)

With this generator you can configure a button and get the complete code for your "view" file.

Show instructions
  • Choose the button, you want to generate
  • If variables or entries need to be set, the form shows these after you choose
  • Fill in the data from Home Assistant as described
  • Click "Generate button code"
  • Copy the generated code and paste it in your edit window in Home Assistant
Note: If you don't want to fill in the data, just click "Generate button code" after choosing a button type. The generator shows the code without filled in data. This generator works locally in your browser, no data is send anywhere!

Note: This generator is in beta state, so there may be issues! Thanks for understanding!

Mode

Which mode are you using?


Button

Choose a button to configure, the "basic" button.

Generate
Your example code

This is your generated code to paste into your config.


© by UI-Lovelace-Minimalist 2021

Documentation for ULM version 1.0.0-beta.6