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

Add hue light slider to scene pages #10

Closed
cas112358 opened this issue Feb 4, 2023 · 12 comments
Closed

Add hue light slider to scene pages #10

cas112358 opened this issue Feb 4, 2023 · 12 comments

Comments

@cas112358
Copy link

Is it possible to add the lights slider / buttons to the scene page that pops up.

This is similar to the functionality you get with the hue controls.

I can see there is a stub that looks like it might be starting to do that already.

@Gh61
Copy link
Owner

Gh61 commented Feb 7, 2023

I am planning on adding complete light functionality on hue-screen, together with possibility to change color of individual lights, turn them off and so on.

This will take some time for me to do, so maybe it's not a bad idea to add light switches as the first step in some of the upcoming versions befo the full functionality will be available.

@cas112358
Copy link
Author

cas112358 commented Feb 7, 2023 via email

@Gh61
Copy link
Owner

Gh61 commented Feb 7, 2023

For the full functionality I am planning to develop entirely new hue-like multiple color-picker component (I have some private WIP project), so i'd like to keep this on me.

But if you want to contribute on the light tiles, there's nothing stoping you.

You just need VS code and npm, so you can restore all dependencies and build the project.
For debugging I am using Live Server extension so I can host the result locally and test it on my HA.

I am pretty new to this environment, so this might not be the best dev stack, but it's working for me.

@cas112358
Copy link
Author

cas112358 commented Feb 7, 2023 via email

@Gh61
Copy link
Owner

Gh61 commented Feb 13, 2023

I see, you had forked the repository and probably setup the environment.

Please write a comment here, if you make any major progress.
I don't want to waste your time, but also don't want relay on your progress.

Thanks for your understanding

@cas112358
Copy link
Author

cas112358 commented Feb 13, 2023 via email

@Gh61
Copy link
Owner

Gh61 commented Feb 13, 2023

The size is correct for the dev version as it is not minimized.
Once you install the dev version of the card you must use the -test postfix.
As in type: custom:hue-like-light-card-test

Is suggest to use some local server hosting (Live Server extension) and add the http://localhost:XXX/dist/hue-like-light-card.js to your Lovelace Resources manually.
As it is much faster, than using releases to update after every change.

@cas112358
Copy link
Author

cas112358 commented Feb 13, 2023 via email

@cas112358
Copy link
Author

Hi,
Have added this basic functionality to my fork, it isn't pretty in places but it functionally works if you want to have a play with it.
https://github.com/cas112358/lovelace-hue-like-light-card/releases/tag/v0.6

@Gh61
Copy link
Owner

Gh61 commented Feb 17, 2023

Hi
I appreciate the time you put into this.
I saw your screenshots and commits and I see you have added sliders and also changed some other things to your likings.

Sorry to say this, but I have a little different vision for light controls on hue-screen and I also want to make much more configuration options for the description (sub-title) on card. Also my ego little bit kicks in and I kinda want to make these crucial parts myself (this was the reason for me to even start working on this).

Hopefully your forked card now provides the functionality, you were looking for.
And I see similar functions coming to this version soon.

@cas112358
Copy link
Author

cas112358 commented Feb 17, 2023 via email

@Gh61
Copy link
Owner

Gh61 commented Jun 16, 2023

Resolved in the current Release.

@Gh61 Gh61 closed this as completed Jun 16, 2023
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

2 participants