MQTT: Invalid color mode 'xy' received for entity light.xxx

I’ve been getting 100s of these errors since (I tink) 2025.3.0.

I can see posts from 2021, but it’s new to me and I couldn’t find a solution.

I’m running. HA container with Z2M. Z2M is showing no errors and the lights do have "color_mode": "xy".

Does anyone else see this problem and know the cause/fix?

Thanks!

2025-03-12 08:38:56.433 WARNING (MainThread) [homeassistant.components.mqtt.light.schema_json] Invalid color mode 'xy' received for entity light.study
2025-03-12 08:38:58.840 WARNING (MainThread) [homeassistant.components.mqtt.light.schema_json] Invalid color mode 'xy' received for entity light.livingroom_lamp_alcove
2025-03-12 08:38:58.904 WARNING (MainThread) [homeassistant.components.mqtt.light.schema_json] Invalid color mode 'xy' received for entity light.livingroom_lamp_tv_left
2025-03-12 08:38:58.986 WARNING (MainThread) [homeassistant.components.mqtt.light.schema_json] Invalid color mode 'xy' received for entity light.livingroom_lamp_settee
2025-03-12 08:38:59.089 WARNING (MainThread) [homeassistant.components.mqtt.light.schema_json] Invalid color mode 'xy' received for entity light.livingroom_lamp_tv_right
2025-03-12 08:39:00.698 WARNING (MainThread) [homeassistant.components.mqtt.light.schema_json] Invalid color mode 'xy' received for entity light.landing_ceiling_bed_1
2025-03-12 08:39:00.756 WARNING (MainThread) [homeassistant.components.mqtt.light.schema_json] Invalid color mode 'xy' received for entity light.landing_ceiling_bed_3
2025-03-12 08:39:00.806 WARNING (MainThread) [homeassistant.components.mqtt.light.schema_json] Invalid color mode 'xy' received for entity light.landing_ceiling_bed_2
2025-03-12 08:39:00.890 WARNING (MainThread) [homeassistant.components.mqtt.light.schema_json] Invalid color mode 'xy' received for entity light.hallway_ceiling_study
2025-03-12 08:39:00.987 WARNING (MainThread) [homeassistant.components.mqtt.light.schema_json] Invalid color mode 'xy' received for entity light.hallway_ceiling_kitchen
2025-03-12 08:39:21.535 WARNING (MainThread) [homeassistant.components.mqtt.light.schema_json] Invalid color mode 'xy' received for entity light.hallway_ceiling_study
2025-03-12 08:39:21.551 WARNING (MainThread) [homeassistant.components.mqtt.light.schema_json] Invalid color mode 'xy' received for entity light.hallway
2025-03-12 08:39:21.563 WARNING (MainThread) [homeassistant.components.mqtt.light.schema_json] Invalid color mode 'xy' received for entity light.hallway_ceiling_kitchen
2025-03-12 08:39:21.567 WARNING (MainThread) [homeassistant.components.mqtt.light.schema_json] Invalid color mode 'xy' received for entity light.landing
2025-03-12 08:39:21.577 WARNING (MainThread) [homeassistant.components.mqtt.light.schema_json] Invalid color mode 'xy' received for entity light.landing_ceiling_bed_3
2025-03-12 08:39:21.579 WARNING (MainThread) [homeassistant.components.mqtt.light.schema_json] Invalid color mode 'xy' received for entity light.landing_ceiling_bed_2
2025-03-12 08:39:21.605 WARNING (MainThread) [homeassistant.components.mqtt.light.schema_json] Invalid color mode 'xy' received for entity light.livingroom_lamp_alcove
2025-03-12 08:39:21.609 WARNING (MainThread) [homeassistant.components.mqtt.light.schema_json] Invalid color mode 'xy' received for entity light.livingroom_lamps
2025-03-12 08:39:21.633 WARNING (MainThread) [homeassistant.components.mqtt.light.schema_json] Invalid color mode 'xy' received for entity light.livingroom_lamp_settee
2025-03-12 08:39:21.636 WARNING (MainThread) [homeassistant.components.mqtt.light.schema_json] Invalid color mode 'xy' received for entity light.livingroom_lamps
2025-03-12 08:39:21.640 WARNING (MainThread) [homeassistant.components.mqtt.light.schema_json] Invalid color mode 'xy' received for entity light.livingroom_lamp_tv_right
2025-03-12 08:39:21.643 WARNING (MainThread) [homeassistant.components.mqtt.light.schema_json] Invalid color mode 'xy' received for entity light.livingroom_lamps
2025-03-12 08:39:21.647 WARNING (MainThread) [homeassistant.components.mqtt.light.schema_json] Invalid color mode 'xy' received for entity light.livingroom_lamp_tv_left
2025-03-12 08:39:21.652 WARNING (MainThread) [homeassistant.components.mqtt.light.schema_json] Invalid color mode 'xy' received for entity light.livingroom_tv_lamps
2025-03-12 08:39:21.671 WARNING (MainThread) [homeassistant.components.mqtt.light.schema_json] Invalid color mode 'xy' received for entity light.livingroom_lamps
2025-03-12 08:39:21.685 WARNING (MainThread) [homeassistant.components.mqtt.light.schema_json] Invalid color mode 'xy' received for entity light.livingroom_tv_lamps
2025-03-12 08:39:21.719 WARNING (MainThread) [homeassistant.components.mqtt.light.schema_json] Invalid color mode 'xy' received for entity light.landing_ceiling_bed_1
2025-03-12 08:39:23.743 WARNING (MainThread) [homeassistant.components.mqtt.light.schema_json] Invalid color mode 'xy' received for entity light.bedroom_1_ceiling
2025-03-12 08:39:23.745 WARNING (MainThread) [homeassistant.components.mqtt.light.schema_json] Invalid color mode 'xy' received for entity light.study
2025-03-12 08:39:23.748 WARNING (MainThread) [homeassistant.components.mqtt.light.schema_json] Invalid color mode 'xy' received for entity light.landing_ceiling_bed_1
2025-03-12 08:39:23.751 WARNING (MainThread) [homeassistant.components.mqtt.light.schema_json] Invalid color mode 'xy' received for entity light.landing_ceiling_bed_3
2025-03-12 08:39:23.756 WARNING (MainThread) [homeassistant.components.mqtt.light.schema_json] Invalid color mode 'xy' received for entity light.landing_ceiling_bed_2
2025-03-12 08:39:23.829 WARNING (MainThread) [homeassistant.components.mqtt.light.schema_json] Invalid color mode 'xy' received for entity light.livingroom_lamp_alcove
2025-03-12 08:39:23.833 WARNING (MainThread) [homeassistant.components.mqtt.light.schema_json] Invalid color mode 'xy' received for entity light.livingroom_lamp_tv_left
2025-03-12 08:39:23.835 WARNING (MainThread) [homeassistant.components.mqtt.light.schema_json] Invalid color mode 'xy' received for entity light.livingroom_lamp_settee
2025-03-12 08:39:23.839 WARNING (MainThread) [homeassistant.components.mqtt.light.schema_json] Invalid color mode 'xy' received for entity light.livingroom_lamp_tv_right
2025-03-12 08:39:23.850 WARNING (MainThread) [homeassistant.components.mqtt.light.schema_json] Invalid color mode 'xy' received for entity light.hallway_ceiling_study
2025-03-12 08:39:23.854 WARNING (MainThread) [homeassistant.components.mqtt.light.schema_json] Invalid color mode 'xy' received for entity light.hallway_ceiling_kitchen
2025-03-12 08:39:23.936 WARNING (MainThread) [homeassistant.components.mqtt.light.schema_json] Invalid color mode 'xy' received for entity light.landing
2025-03-12 08:39:23.954 WARNING (MainThread) [homeassistant.components.mqtt.light.schema_json] Invalid color mode 'xy' received for entity light.livingroom_lamps
2025-03-12 08:39:23.957 WARNING (MainThread) [homeassistant.components.mqtt.light.schema_json] Invalid color mode 'xy' received for entity light.hallway
2025-03-12 08:39:23.988 WARNING (MainThread) [homeassistant.components.mqtt.light.schema_json] Invalid color mode 'xy' received for entity light.livingroom_tv_lamps

Not since I updated z2m. There were two recent releases to fix this.

Thanks for that. I’m on:

  • HA Core v2025.3.2
  • Z2M v2.1.3

Is the problem in HA or Z2M (where do I report this)?

2.1.3-1 is the latest version.

huh., thanks.

docker compose pull is not pulling anything new and Z2M reports 2.1.3. It updated just a day or 2 ago.

This is what I have…

edit: there is an open issue for it on GitHub.

Maybe this will help someone. I found a workaround to eliminate the error messages and posted it here:

1 Like