LIFX: Add get_state
function
#475
Unanswered
Fenrirthviti
asked this question in
Integration enhancements
Replies: 1 comment
-
🏷️ I've automatically added the |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Integration name
LIFX
Link to integration documentation on our website
https://www.home-assistant.io/integrations/lifx/
Describe the enhancement
Add an action that provides the current state of each zone on a LIFX device when called.
Use cases
When attempting to build automation for my LIFX Ceiling Light, I was stumped by the fact that I could not get effect settings to change once the effect was already set. This is, apparently, a limitation of the API where you cannot modify an effect once it's been set, it must be cleared first. Having a
get_state
option will allow automations to have better feedback on certain actions that may not be expected to work.This was initially proposed by Djelibeybi on a support post that I had submitted trying to figure out why an automation was not working properly.
Anything else?
The LIFX app itself is able to modify any effect parameters while an effect is already active, so I'm unsure if this is a third-party integration limitation, or if the app is just being "clever" and constantly resetting the effect before immediately applying the new changes. As far as end results, changes to things like the color palette are instant and do not appear to cause any flickering or other device weirdness when used through the app. Though, this additional context may be out of scope of the actual request here. :)
Beta Was this translation helpful? Give feedback.
All reactions