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

Hue bridge scene updates #195

Open
wants to merge 10 commits into
base: dev
Choose a base branch
from
Open

Conversation

BenoitAnastay
Copy link

This is updating scenes on the hue bridge, avoiding you the pain to create rest commands for each scenes you want to update.

This is an update of the PR #166

The configuration look like this

  - platform: circadian_lighting
    lights_ct:
      - light.living_room
      - light.entrance
      - light.bedroom
    hue_keyword: 'Circadian'

This will update the color temp of scenes with names containing the word Circadian, without changing the power state, thus you can have multiples scenes with differents powered bulbs

You can also manually setup the bridge and API key

If you have multiple switch you cal also set differents keyword

@RobertDWhite
Copy link

Glad my python to grab the Hue API key automatically is working for you. I'll test this out later. Was just going back through my configs earlier this week to make similar functionality occur on the newest CL version.

@BenoitAnastay
Copy link
Author

@RobertDWhite The main change I've done since my previous PR is that I forked aiohue and uploaded it to PyPi, thus there is no needs to manually update libs.

I was waiting after aiohue mainte,air to add a methode to update scenes but they didn't make it, I forked it bu kept the V1.

I do feel a bit lazy about updating to V2 but feel free to have a look on my fork https://github.com/BenoitAnastay/aiohue

@BenoitAnastay BenoitAnastay changed the base branch from main to dev March 1, 2024 16:08
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

Successfully merging this pull request may close these issues.

None yet

3 participants