Blackymas / NSPanel_HA_Blueprint

This allows you to configure your complete NSPanel via Blueprint with UI and without changing anything in the code
1.25k stars 234 forks source link

blasphemy: Switch to HA Integration instead of Blueprint? #1983

Open Bascht74 opened 3 months ago

Bascht74 commented 3 months ago

Enhancement Summary

With your own integration, you could break out of the corset of the one (!) blueprint and realize some things that are difficult now more easily and flexibly.

Detailed Description

E.G. https://github.com/Sian-Lee-SA/Home-Assistant-Switch-Manager is using its own integration (in the background it is using blueprints as well!) to do some fance UI stuff. This would streamline the users experiance and would enable the possibility to add features that are right now not possible:

  1. Cut the blueprint to smaller peaces per device
  2. Enable blueprint-variations, e.g. 6 Button pages with bigger Buttons (e.g. for older people or people with less motoric control)
  3. Enable navigation buttons (to see everything on the first page without the need to know that swiping is needed)
  4. To cut the options in smaller peaces, e.g. show the button page as a screenshot an you can click on a button to do the configuration
  5. Add more options for the buttons, e.g. to control the behavior of short / long press (which would make the the blueprint much longer if you would add it).

I know this stepp would be more of a radical one, but maybe it could set you guys free of all mayer limitations of blueprints.

Additional Context

Another way/alternative to control the length of the blueprint would be to add sections or the possibilty to hide stuff in the blueprint itself.

These are the people working on the editor of the blueprints itself: https://github.com/home-assistant/frontend/commits/dev/src/panels/config/blueprint And this is a pull request that could fire the whole project in an new area: https://github.com/home-assistant/frontend/pull/19946 https://github.com/home-assistant/core/pull/110513

... and if they would add an option to hide input fields based on others afterwards that would make everything easy and smooth...

edwardtfn commented 2 months ago

And this is with the defaults:

[18:40:01][C][esp32_ble_tracker:645]: BLE Tracker:
[18:40:01][C][esp32_ble_tracker:646]:   Scan Duration: 300 s
[18:40:01][C][esp32_ble_tracker:647]:   Scan Interval: 320.0 ms
[18:40:01][C][esp32_ble_tracker:648]:   Scan Window: 30.0 ms
[18:40:01][C][esp32_ble_tracker:649]:   Scan Type: ACTIVE
[18:40:01][C][esp32_ble_tracker:650]:   Continuous Scanning: True
edwardtfn commented 3 weeks ago

And this is a pull request that could fire the whole project in an new area: home-assistant/frontend#19946 home-assistant/core#110513

That is being released this week. I've already implemented the section on our blueprint. 😉

Bascht74 commented 3 weeks ago

Great! I saw it. Really cool that you implemented it

edwardtfn commented 3 weeks ago

It's in dev, ready to release when HA releases, however I may wait until next Monday as I will be off from Thursday and don't wanna have to fix critical things during this time. 😉