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?