Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Blueprints/Template devices in the Dashboard #2898

Open
morotsgurka opened this issue Sep 24, 2024 · 0 comments
Open

Blueprints/Template devices in the Dashboard #2898

morotsgurka opened this issue Sep 24, 2024 · 0 comments

Comments

@morotsgurka
Copy link

Describe the problem you have/What new integration you would like
Seeing how both Home Assistant and ESPHome has evolved to be more and more user friendly, it would be great with a feature to allow users to create pre-configured templates for popular devices (e.g., Shelly devices), with fields for user-editable information such as device name and friendly name etc.

Please describe your use case for this integration and alternatives you've tried:
The user would be able to import yaml config files "as template/blueprint" then when creating a new ESPHome device, you can create it from the blueprint. The user would then need to fill in the template fields from the blueprint. Say: device name, friendly name etc. Then simply press install and ESPHome would compile the firmware for their device.
This would require some kind of linting of the template/blueprint files. So that a standard for !secret wifi_password etc is used.

This would simply the user experience for less-experienced users since they would not be overwhelmed by the "yaml code" as they would only see a few UI fields they need to enter, then hit install. Similar to Automation blueprints or script blueprints in Home Assistant.
This could then integrate sites like: devices.esphome.io.

This could also improve the creation/management of users who have a lot of devices of the same type (Example Shelly Plug S), they could create/tweak their template then create multiple devices from that template. Then if they device all those devices also need a text_sensor that displays x info they add it to the template and can simply press update on the devices inheriting from that template.
Also vendors selling pre-installed ESPHome devices could provide a template/blueprint to their buyers.

Additional context
A UI example of this i feel is the 3D Printer spool management software Spoolman.

  1. You create your Vendors.
  2. Then using your created vendors you create Filaments.
  3. Then using your created filaments you create your actual spools.
    So when buying new spools of filament all the settings(empty spool weight, density, price, color etc) is already done. You can very simply and fast add 10 spools of the same brand/type of filament, and any change in the settings for the Filament is reflected in your spools.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant