I would like to have a default turn-on value (color, brightness, whatever’s supported by the light) configurable for each light individually. I know there are workarounds, however I believe doing this in an abstract way (right on the light component) would be greatly beneficial. The default value should only be used if the light is being turned on without any specific value (e.g. if I set the light from 0 to 50% it should go to 50 even if the default is 80. If I just turn on the light, it should go to 80 if the default is 80.).
I have implemented a prototype for this that hooks in at https://github.com/home-assistant/home-assistant/blob/dev/homeassistant/components/light/__init__.py#L359
and if params is empty sets some values that’s stored in a config. It works well but the code needs cleaning up (currently defaults come from a globally defined “fake” component that triggers an error on the home page, for example), and for certain reasons it’s complicated for me to post or submit code publicly. So I’d prefer if somebody knowledgable with homeassistant implemented this feature.
I’m offering 50 USD to whoever submits this code into the homeassistant repo. The solution needs to be bug-free (which I don’t think is a huge requirement for such a small change). I’d prefer to pay over PayPal but am flexible if required (crypto, bank transfer, etc.).