home-assistant / home-assistant.io

:blue_book: Home Assistant User documentation
https://www.home-assistant.io
Other
4.75k stars 7.18k forks source link

Changing the Effects through YAML template #21106

Closed lathishsundar closed 2 years ago

lathishsundar commented 2 years ago

Feedback

Nanoleaf lights support the effects based on sound or standard effects. Is there any way to change the light effects through YAML. It would be helpful to add it in the help page.

Thank you, Lathish

URL

https://www.home-assistant.io/integrations/nanoleaf/

Version

2021.12.8

Additional information

No response

probot-home-assistant[bot] commented 2 years ago

Hey there @milanmeu, mind taking a look at this feedback as it has been labeled with an integration (nanoleaf) you are listed as a code owner for? Thanks! (message by CodeOwnersMention)

milanmeu commented 2 years ago

Hi @lathishsundar, thanks for your feedback.

The Nanoleaf light entity works just like any other light, so you can use the light.turn_on service call to set an effect. Please refer to the light documentation for more information: https://www.home-assistant.io/integrations/light/.

Here is an example service call to set a light effect:

service: light.turn_on
target:
  entity_id: light.canvas_adf9
data:
  effect: Color Burst

It would be helpful to add it in the help page.

This service call is not specific to Nanoleaf and works for any light entity, so this information is on the light documentation page instead.

Please don't hesitate to open a new issue or add a comment if you have more feedback. Have a nice day! :smile:

lathishsundar commented 2 years ago

Thank you for help.