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

default_level causes error. #11

Open
ropiko opened this issue Nov 14, 2022 · 3 comments
Open

default_level causes error. #11

ropiko opened this issue Nov 14, 2022 · 3 comments

Comments

@ropiko
Copy link

ropiko commented Nov 14, 2022

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 ?).

@ropiko ropiko changed the title Fixed default_level causes error. default_level causes error. Nov 14, 2022
@sn00zerman
Copy link

Any solution or work-around for this ?
If have some fixtures that I can't use without setting a default value for certain channels ...

@Breina
Copy link
Contributor

Breina commented Aug 27, 2023

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.

Breina#18

That's a more general solution that supports all kinds of light fixtures, not only dimmers.

@sn00zerman
Copy link

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.

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

3 participants