Make sure to have the config 100% correct. You can also adjust several parameters for it to respond faster (which fooled me at first being that it didn’t respond quick enough). Also if the wifi is not getting a strong signal, it might delay a bit (or not respond).
(in my lights.yaml file - just make sure your spacing and syntax is correct)
platform: yeelight
devices:
192.168.2.22:
name: D-Office
transition: 1000 #(default is 350ms just make sure not to set too low or too high)
use_music_mode: True #(defaults to False - True will help keep the communications open)
save_on_change: False #(defaults to True)
Yes they do. Couple of things to try: 1) in the yeelight app, is the Developer option selected? 2) can you modify the colors and such from the yeelight app?
I think I understand what you are encountering. I am able to perform all controls from the popup, but not set any settings from the yaml file other than on and off and transition. Maybe I am doing something wrong also. What I am working on is using an led strip to light up RED in the front hallway when the alarm is on. This “should” prevent my family from just running out the front door without turning off the alarm.
What I had to do for that instance was turn on the yeelight, set the color I wanted, then turn it off. It will remember the last color. Would love to get it to flash green for a few seconds when the alarm is turned off. I’ll keep playing with it.
Here is my automation section referring to this action.
alias: ‘Alarm_Armed_Home’
trigger:
entity_id: alarm_control_panel.alarmcom
platform: state
to: ‘armed_home’
action:
service: light.turn_on
entity_id: light.alarmstatus
alias: ‘Alarm_Disarmed’
trigger:
entity_id: alarm_control_panel.alarmcom
platform: state
to: ‘disarmed’
action:
service: light.turn_off
entity_id: light.alarmstatus
hi all, not sure if my issue is related to this component and to the fix suggested above:
I have a white yeelight connected to HASS - before updating from 0.50.1, I had the effects dropdown available and had no issues using the toggle button to switch on and off the yeelight.
since updating to 0.52.1, I no longer have the effects option and the only way to switch off the light is to move the brightness slider back to the zero position.
But to be sure, i recomend you enter to your home assistant options and go to state and see what you see in your yeelight led strip, and change the entity_id of my example by yours