Does anyone know how to trigger scenes and effects for Lifx devices?
I’m trying to turn on a specific scene and effect. The API’s for them exist, but I just cant figure out how to do it in Home Assistant.
Any ideas?
Does anyone know how to trigger scenes and effects for Lifx devices?
I’m trying to turn on a specific scene and effect. The API’s for them exist, but I just cant figure out how to do it in Home Assistant.
Any ideas?
This is a great question. I’d like to know this too. I’ve been trying to get Lifx to add their effects to scenes since they launched and they just don’t seem to get it.
Being able to set a scene and then start an effect (or any combination/order) would be pretty incredible. I would use it every day.
I hope someone has some ideas.
Thank you,
David
I managed to do this by adding a rest command
rest_command:
lifx_effect:
url: "https://api.lifx.com/v1/lights/{{ selector or 'all' }}/effects/{{ effect or 'flame' }}"
content_type: "application/json; charset=utf-8"
method: post
headers:
Authorization: Bearer <bearer token>
accept: "application/json"
payload: '{{ (payload | tojson) if payload else ''{"power_on": true}'' }}'
Although I can use that I’m wondering if there is a way in the UI to do this?