korapp / plasma-homeassistant

Add Home Assistant to your plasma desktop
GNU General Public License v3.0
54 stars 4 forks source link

Light Toggle creates Strobe effect #5

Closed Node815 closed 10 months ago

Node815 commented 10 months ago

I added my first entry after getting the qt5-websockets installed and rebooting.

The entity is my Desk lamp, and I added the option to Toggle it: image

After hitting Apply, it turned the light off...paused about 1 second...back on...then off then on then off then on then off then on then went into strobe mode. Thank you for proving to me that I can somehow strobe my Cost Feit light! :zap: While this is a great effect for Halloween, I'm afraid it won't work for daily use. :)

Also, I noticed that If I change the action to Turn On/Turn Off (either way), it overrides my current setting in Home Assistant, for example, Having it set to Turn On, only allowed my light to be set to 6%. Manually turning it off and on in the Home ASsistant Dashboard, it changed it from 100% to 6% so your app is assuming Master Control by presumably sending a stream of instructions when the action is selected.

korapp commented 10 months ago

This fatal glitch has already been fixed in the dev branch. Thank you for reporting this. However, I cannot reproduce the second problem - my RGB strip turns on with the last set color and brightness. Could you share which version of HA you are using?

Node815 commented 10 months ago

image

I can try to fix my copy if you want by viewing the one you linked and let you know.

Node815 commented 10 months ago

Never mind my attempt, it broke things, but I'm patient, I will wait for the next release. :)