Core: Current effect missing in the state of yeelight bulbs

Created on 20 Nov 2019  路  6Comments  路  Source: home-assistant/core

Home Assistant release with the issue: 0.102.0

Last working Home Assistant release (if known): none

Operating environment (Hass.io/Docker/Windows/etc.): Hass.io

Integration: yeelight

Description of problem:
In the current state of all the yeelight bulbs, the current active effect is missing:
Screenshot_2019 11 19_00h28m06s_004_

So there is a list of all available effects, but not not the current active effect

Problem-relevant configuration.yaml entries and (fill out even if it seems unimportant):

yeelight:
  devices:
    192.168.168.50:
      name: Light Floor
yeelight

All 6 comments

Hey there @rytilahti, @zewelor, mind taking a look at this issue as its been labeled with a integration (yeelight) you are listed as a codeowner for? Thanks!

There is no real way of knowing if there is an effect in use (as they are simply a set of transitions), it is only possible to see if such flow is in use. If such information is wanted, the yeelight integration could save the last activated effect as current effect, and reset it when the mode gets changed. @zewelor what do you think about this?

@rytilahti It seems like only solution. It could give false impression, that such information is available, and for exmaple, if someone fires event from yeelight app. Current_effect won't be populated it will be some issue. But its probably better to show it in some cases than never ? It also won't work for flows, executed from yeelight.start_flow service. I can work on that in few days.

Would it be an option to ask the yeelight devs to also return the current effect via the get_prop function?

There is no such thing as current effect in yeelight device. It gets list of transitions ( color / brightness ) changes and counter ( to do it x times or infinite loop ).

Was this page helpful?
0 / 5 - 0 ratings

Related issues

sogeniusio picture sogeniusio  路  3Comments

Konstigt picture Konstigt  路  3Comments

aweb-01 picture aweb-01  路  3Comments

bdraco picture bdraco  路  3Comments

coolriku picture coolriku  路  3Comments