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

Future: Add transition time #74

Closed
CookieThemes opened this issue Sep 14, 2021 · 1 comment
Closed

Future: Add transition time #74

CookieThemes opened this issue Sep 14, 2021 · 1 comment

Comments

@CookieThemes
Copy link

Hi,

I would like to suggest to add transition to _setBrightness function. It works well and it's a lot of smoother for eyes.

_setBrightness(state, value) { this.hass.callService("homeassistant", "turn_on", { entity_id: state.entity_id, brightness: value * 2.55, transition: 0.5 }); }

@DBuit
Copy link
Owner

DBuit commented Dec 23, 2021

@CookieThemes nice addition, it is added as an option in v0.5.1

@DBuit DBuit closed this as completed Dec 23, 2021
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