ha-artnet-led
ha-artnet-led copied to clipboard
default_level causes error.
If i try to add the lines from the example code:
- channel: 50
name: sp4led_1_dimmer
default_level: 255
type: fixed
I get the following message when i try to restart HASS: The system cannot restart because the configuration is not valid: Invalid config for [light.artnet_led]: [default_level] is an invalid option for [light.artnet_led]. Check: light.artnet_led->universes->0->devices->2->default_level. (See ?, line ?).
Any solution or work-around for this ? If have some fixtures that I can't use without setting a default value for certain channels ...
I believe the default_value
was removed at some point. The solution that we did on my fork was to split the default channel up by its channels.
https://github.com/Breina/ha-artnet-led/pull/18
That's a more general solution that supports all kinds of light fixtures, not only dimmers.
Thanks for your answer, I will definitely use your fork :-) It's a much more elegant solution than mine ! I did set the channels in a HA startup-script, to the necessary values, and simply did hide this entity.