Hypfer / hass-scene_presets

Hue-like scene presets for lights in home assistant
Apache License 2.0
84 stars 7 forks source link

Make UI available as View / Card instead of Dashboard #20

Closed dfritsch86 closed 4 months ago

dfritsch86 commented 4 months ago

What is happening?

When adding this custom integration, a new Dashboard is created on the sidebar. However, as "light-related" views might be defined in previously-configured dashboards, for the purpose of having related settings close to each other it would be great to have the option to show the UI of this integration within an existing dashboard.

What should be happening?

Ideally there could be the option to not automatically create a dashboard for the scene presets, while at the same time providing a "companion frontend card", meant to be added as single-card view.

Reflection 1

Subjective Opinion

Is this issue tracker the right place for this topic?

Yes, as it pertains to this integration only. The label "Enhancement" might be apt, as it is not describing a bug.

Please enter the scene_preset version you're using

1.2.3

Please enter the Home Assistant version you're using

2024.2.5

Details about your setup

Doesn't really matter, but exclusively hue lights integrated in HA over the Hue integration.

Reflection 2

No

Time and Effort

Hypfer commented 4 months ago

I don't think that that's possible. Both from a technical standpoint and from a design standpoint. The UI/UX isn't designed to be both standalone and also part of something else. It's also immensely complicated and full of trade-offs to try to build something in a way that achives that and works on desktop and mobile.

I don't think that you really need the whole thing though. You probably just have a few presets that you always use and for those you can use existing lovelace cards that call the relevant services. iirc you can also have a button card that navigates somewhere so it could navigate you to the view provided by this component