Breina / ha-artnet-led

DMX lighting Integration for Home Assistant. Using the HA Color Mode update and Pyartnet library to control lights in multiple DMX universes over ethernet with the Art-Net protocol.
MIT License
115 stars 10 forks source link

Feature Request - Dynamic Transition time #25

Closed LighthouseMedia closed 1 year ago

LighthouseMedia commented 1 year ago

Be able to use another variable such as a helper or an internal variable that can be changed dynamically.

Breina commented 1 year ago

The current transition time is just a default one. If you want it dynamic, you could just use the transition attribute when calling the light service.

Please correct me if I'm misunderstanding, but I would think this is a cleaner solution than setting another variable, and then calling the light service without the transition attribute, no?

Breina commented 1 year ago

Does that work for you @LighthouseMedia ?

LighthouseMedia commented 1 year ago

Yes, I made a script and used a input number to contol how long i want the transisiton time to be. I also made the same scipt be able to work with any light, and even groups of lights.