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

Allow configuring "initial transition" #35

Closed
claytonjn opened this issue Aug 3, 2019 · 8 comments
Closed

Allow configuring "initial transition" #35

claytonjn opened this issue Aug 3, 2019 · 8 comments
Labels
enhancement New feature or request

Comments

@claytonjn
Copy link
Owner

Circadian Lighting currently is hardcoded to a 1 sec transition when a light is turned on, so that it will immediately be set to the proper value. I could make this configurable.

My only hesitation in doing so is that Circadian Lighting already has relatively complex configuration options and I don't want to add unnecessary confusion. Perhaps I should remove the options for disable entity and disable state because very simple automations could be written to turn on/off the CL switch... 🤔

@claytonjn claytonjn added the enhancement New feature or request label Aug 3, 2019
@rschuiling
Copy link

Personally, I did configure a 3 second transition for my own circadian solution. This gives a smoother experience. In my case, I want the brightness to adjust rather quick (3 seconds) then after that color temperature may take a little longer (7 seconds). This is Tradfri hence two separate calls by the way.

So yes I think it would be a good feature.

@bouwew
Copy link

bouwew commented Aug 4, 2019

I don't care about this so please make use of the default-mechanism in HA.

Also, I don't really care how many config options there are. Just please set default values for most of them. When the documentation is clear, most of the users will not have any problem.

@LEJOUI
Copy link
Contributor

LEJOUI commented Aug 13, 2019

I’d like to see this option!

@mouth4war
Copy link
Contributor

mouth4war commented Dec 26, 2019

Will this fix the issue where if you turn a light on with a transition, circadian kicks in before the transition is complete, ruining the transition.

EDIT: Yes, it does.

@broyuken
Copy link

Will this fix the issue where if you turn a light on with a transition, circadian kicks in before the transition is complete, ruining the transition.

EDIT: Yes, it does.

This is exactly what I’m looking to fix. How would I implement this until it gets pulled into the main code in HA?

@claytonjn
Copy link
Owner Author

@broyuken just change that line in your local switch.py file in custom_components

@claytonjn
Copy link
Owner Author

claytonjn commented Feb 22, 2020

There is now a initial_transition configuration option at the switch level on the dev (beta) branch. Leaving this open because I have to update the WiKi once this hits master.

@claytonjn
Copy link
Owner Author

initial_transition added to master, wiki updated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

6 participants