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

Send HSL color to setColor command #147

Open
amathews84 opened this issue Nov 2, 2021 · 1 comment
Open

Send HSL color to setColor command #147

amathews84 opened this issue Nov 2, 2021 · 1 comment
Labels
documentation Improvements or additions to documentation

Comments

@amathews84
Copy link

I checked the capability in Maker API:
{"command":"setColor"}

I copied the service call and arguments the same way it is shown in Hubitat device page:
image

image

When I test by running actions in Home Assistant the light does not get updated. Any idea if I am doing something wrong? Here is my YAML code for the action:

service: hubitat.send_command data: entity_id: light.living_inovelli_light_strip command: setcolor args: '[hue:22,saturation:100,level:100]'

@jason0x43 jason0x43 changed the title Unable to Set Color on Inovelli LZW45 RGB Light Strip Send HSL color to setColor command Nov 25, 2021
@jason0x43
Copy link
Owner

As you mentioned in this post, this can be done with a JSON-formatted argument value, like:

{"hue": 22, "saturation": 100, "level": 100 }

I'm leaving this open as a reminder to update the documentation.

@jason0x43 jason0x43 added the documentation Improvements or additions to documentation label Nov 25, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

2 participants