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

Improved method for setting up node.js #293

Merged
merged 2 commits into from
Jun 21, 2022

Conversation

anaisbetts
Copy link
Contributor

@anaisbetts anaisbetts commented Jun 18, 2022

This PR documents a better way to enable using home-assistant-js-websocket in node.js that doesn't involve users having to copy-paste chunks of the source code into their apps

@balloob
Copy link
Member

balloob commented Jun 21, 2022

That is indeed a lot better 👍 Can be merged when CI passes

@balloob balloob merged commit 8b66a42 into home-assistant:master Jun 21, 2022
@balloob
Copy link
Member

balloob commented Jun 21, 2022

Thanks for the contribution. Anything cool you're working on you want to share? 😃

@anaisbetts
Copy link
Contributor Author

@balloob Ya! http://github.com/anaisbetts/ha-scene-lighting (sorry for the zero documentation lol) - basically the idea is that it's an alternative to Adaptive Lighting - instead of it just transitioning a temperature, you instead create a "Day" Scene and a "Night" Scene and set them up any way you want - as the day goes on, it interpolates between the two scenes (this is why I was asking about Scene details in home-assistant/core#68453).

It'll also let you configure something other than just time-of-day to set the transition values, the idea being that you can use an outdoor light sensor to adjust the light temperature automatically

It's reallyyyyy early, I basically just finished the initial PoC today though, still have a lot of work to do!

@balloob
Copy link
Member

balloob commented Jun 23, 2022

Very cool!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants