BazaJayGee66 / homeassistant_cololight

Custom component to support Cololight in Home-Assistant
MIT License
47 stars 6 forks source link

My prefer effect is bugged #13

Closed psychomuser closed 3 years ago

psychomuser commented 3 years ago

Hi, sorry for my english language. I love your integration, and I love the shadow effect of cololight.

My prefer effect is: Color Scheme: Shadow | Red, Yellow Cycle Speed: 24 Mode: 13

If I create this effect from integration menu, the cololight lamp shows a effect with Red, Yellow AND GREEN. Why does it turn green? With the official Lifesmart App this effect work properly. I tried with different cycle speeds and mode, but the issue still remain.

I tried with different color ("red, white", "Yellow, White" ecc), and this effect work properly (without adding wrong colors).

PS: i can't create the effect manually, I tried to add to the configuration.yaml this strings:

light:
  - platform: cololight
    name: Cololight
    host: 192.168.188.25
    custom_effects:
      - name: RedYellow
        color_scheme: Shadow
        color: Red, Yellow
        cycle_speed: 24
        mode: 13

but it doesn't work, even after reboot.

Thank You for your helps, and for creating this integration :)

BazaJayGee66 commented 3 years ago

Thanks for raising!

You are correct, trying with the same settings I also get green.

Unfortunately I couldn't find a quick work around to solve the problem, and won't be able to spend time to resolve it properly for some weeks.

Apologies,

psychomuser commented 3 years ago

Thank You for reply, is there any way to create the effect manually? I tried but it didn't work

BazaJayGee66 commented 3 years ago

Hey @psychomuser,

This has been fixed with Release v.1.2.3.

The Shadow colour scheme had an additional colour that wasn't in the UI, this caused the calculations to be out by 1 for this scheme. I have added the missing colour, and can confirm that setting - Colour Scheme: Shadow | Red, Yellow Cycle Speed: 24 Mode: 13

Now has the desired effect.

psychomuser commented 3 years ago

Hey @psychomuser,

This has been fixed with Release v.1.2.3.

The Shadow colour scheme had an additional colour that wasn't in the UI, this caused the calculations to be out by 1 for this scheme. I have added the missing colour, and can confirm that setting - Colour Scheme: Shadow | Red, Yellow Cycle Speed: 24 Mode: 13

Now has the desired effect.

It's working! Thank you so much!

I'd like to offer you a coffee, do you have a donation link?