RGBW color difference between HA Zigbee or OSRAM Lighify Hub

Hello!

I have a bit of a stumper and not sure how to go about troubleshooting. I have two Sylvania Smart+ RGBW LED light bulbs. Each one is on the current firmware 00102428. I have one connected directly to the OSRAM lightify Hub and the other is connected directly to HA using the Zigbee Home Automation integration. The reason for this, in the OSRAM hub there is a light scene called Plant Light that I use to give my Basil some extra light. I have tried to replicate this to the other bulb so I can eventually get rid of the OSRAM hub.

The script I created for each are identical:

grow_test_ha:
  sequence:
  - service: light.turn_on
    data:
      entity_id: light.test_rgbw
      xy_color:
      - 0.599
      - 0.266
      brightness: 254
  mode: single
  alias: Grow test HA
grow_test_osram:
  sequence:
  - service: light.turn_on
    data:
      entity_id: light.grow_light
      xy_color:
      - 0.599
      - 0.266
      brightness: 254
  mode: single
  alias: Grow test Osram

The color is darker for the HA direct attached bulb. To test if the HA bulb was defective I have switched both bulbs so the one that was paired with HA is now paired with OSRAM and the one paired with OSRAM is paired with HA. The color sent by the OSRAM hub to the once HA paired bulb is correct and the color sent from HA to what was the OSRAM bulb is still the darker color.

I am hoping to get some direction on how to see what is being sent to each of the bulbs as that is a bit beyond my skill set. I have looked at Developer tools and the attributes from each bulb. I did notice that when ising the Lightify App to turn the bulb on that itis color attributes would change which I though was odd, but even trying those new values in HA did not work.

light.grow_light

min_mireds: 153
max_mireds: 526
effect_list: random
brightness: 254
color_temp: 370
hs_color: 336.378, 83.007
rgb_color: 255, 43, 126
xy_color: 0.576, 0.254
device_type: 10 (light rgbw)
firmware_version: 00102428
friendly_name: Grow Light
supported_features: 55

light.test_rgbw

min_mireds: 142
max_mireds: 666
brightness: 254
hs_color: 341.159, 81.176
rgb_color: 255, 48, 113
xy_color: 0.594, 0.266
off_brightness: null
friendly_name: Test RGBW
supported_features: 59

Thanks in advance for taking the time to read this and I hope it was not too long.

Raspberry Pi 4B 4GB
HA Core: core-2021.2.3
Home Assistant OS 5.12
GoControl HUSBZB-1 USB Hub for Zigbee and Z-Wave

Cheers,

I would try using just rgb_color, set the bulb with osram, then see what the rgb value is and try sending just that to the bulb with HA. I know I read somewhere HA converts the values I don’t remember from what to what before sending but I would see if Rgb values give you a slightly different result.

I just tried using RGB values in the script and I still end up with the wrong color.

grow_test_ha:
  sequence:
  - service: light.turn_on
    data:
      entity_id: light.test_rgbw
      rgb_color:
      - 255
      - 43
      - 126
      brightness: 254
  mode: single
  alias: Grow test HA

It almost seems when HA is interrogating the OSRAM hub,the OSRAM hub is either sending the wrong info (intentional) or HA is interpretting it differently.