"Invalid color mode 'color_temp' received for entity" using z2m with HA

Hi all,

I have a weird issue with log spam in HA from z2m. I have a zigbee group defined in z2m for all of my Inovelli dimmers that are bound to Hue bulbs, which allows me to send a group command to change the defaultLevelLocal each time Adaptive Lighting updates (so the lights will at least turn on to the correct level, even if the color is wrong). That part works great. But I’ve noticed there is a large amount of log spam in HA of the following:

WARNING (MainThread) [homeassistant.components.mqtt.light.schema_json] Invalid color mode 'color_temp' received for entity light.inovelli_hue_dimmers

When I look in MQTT at the value for the /zigbee2mqtt/Inovelli Hue Dimmers topic it has the following (formatted for easy reading):

{
  "brightness":254,
  "color": {
    "h":37,
    "hue":37,
    "s":63,
    "saturation":63,
    "x":0.4059,
    "y":0.391
  },
  "color_mode":"color_temp",
  "color_temp":286,
  "defaultLevelLocal":254,
  "state":"ON"
}

The group only contains the 2-1 Dimmers, so it doesn’t seem like it should report color, and the config in /homeassistant/light/XXX_LONG_ID_XXX/light/config agrees (formatted for easy reading):

{
    "availability": [
        {
            "topic": "zigbee2mqtt/bridge/state",
            "value_template": "{{ value_json.state }}"
        },
        {
            "topic": "zigbee2mqtt/Inovelli Hue Dimmers/availability",
            "value_template": "{{ value_json.state }}"
        }
    ],
    "availability_mode": "all",
    "brightness": true,
    "brightness_scale": 254,
    "command_topic": "zigbee2mqtt/Inovelli Hue Dimmers/set",
    "default_entity_id": "light.inovelli_hue_dimmers",
    "device": {
        "identifiers": [
            "zigbee2mqtt_1221051039810110150109113116116_35"
        ],
        "manufacturer": "Zigbee2MQTT",
        "model": "Group",
        "name": "Inovelli Hue Dimmers",
        "sw_version": "Zigbee2MQTT 2.7.2",
        "via_device": "zigbee2mqtt_bridge_0x00124b002e1e6f8b"
    },
    "name": null,
    "object_id": "inovelli_hue_dimmers",
    "origin": {
        "name": "Zigbee2MQTT",
        "sw": "2.7.2",
        "url": "https://www.zigbee2mqtt.io"
    },
    "schema": "json",
    "state_topic": "zigbee2mqtt/Inovelli Hue Dimmers",
    "supported_color_modes": [
        "brightness"
    ],
    "unique_id": "35_light_zigbee2mqtt"
}

Anyone have an idea why this is happening? Since Adaptive Lighting makes adjustments throughout the day it’s causing thousands of log entries every day. If this is expected behavior, is there a way to suppress the warning completely for just this device?

I have the same issue, warning is appearing almost 100k times per day.

@Lance_Inovelli Could you take a look?

This sounds more like an issue with either Z2M or Home Assistant. I would suggest taking it to Z2M’s discord or github and see if they can help. As far as I can tell it’s not in the Inovelli converter in Z2M since that doesn’t do anything with color.

There is nothing in our firmware and/or driver that can control or report color for anything but the LED bar. If this is a Hue bulb I would reach out to HA for guidance as @rohan suggested.

I’ll definitely reach out to z2m and HA about this, but to clarify, the Zigbee group in question ONLY has Inovelli switches in it. I specifically created it so I can send a group command to change the defaultLevelLocal setting.

This looks like an error in how the group was created and published to Home Assistant by Z2M, which is why I suggested filing an issue or reaching out on Z2M’s discord.