Skip to content

Warning for color_mode when using MQTT and blaQ #65

Open
@danielgoepp

Description

@danielgoepp

I know, just another warning here, and probably not a priority, but I'll report anyway just in case :)

I think I only started getting these when I switched over to using MQTT instead of the API.

[09:31:36][I][app:100]: ESPHome version 2024.6.1 compiled on Jun 23 2024, 09:48:07
[09:31:36][I][app:102]: Project konnected.garage-door-gdov2-q version 1.2.4

2024-06-24 04:38:47.036 WARNING (MainThread) [homeassistant.components.mqtt.light.schema_json] Deprecated flag `color_mode` used in MQTT JSON light config , the `color_mode` flag is not used anymore and should be removed. Got: {'schema': 'json', 'supported_color_modes': ['onoff'], 'name': 'Garage Light', 'availability_topic': 'garage-door-opener-workshop/status', 'unique_id': '34b7da6119d0-light-ec143116', 'command_topic': 'garage-door-opener-workshop/light/garage_light/command', 'device': {'manufacturer': 'espressif', 'identifiers': '34b7da6119d0', 'name': 'Garage Door Opener Workshop', 'model': 'esp32-s3-devkitc-1', 'sw_version': 'esphome v2024.6.1 Jun 23 2024, 09:33:11', 'suggested_area': ''}, 'state_topic': 'garage-door-opener-workshop/light/garage_light/state', 'color_mode': True, 'platform': 'mqtt'}. This will stop working in Home Assistant Core 2025.3

2024-06-24 04:38:47.046 WARNING (MainThread) [homeassistant.components.mqtt.light.schema_json] Deprecated flag `color_mode` used in MQTT JSON light config , the `color_mode` flag is not used anymore and should be removed. Got: {'schema': 'json', 'supported_color_modes': ['onoff'], 'name': 'Garage Light', 'availability_topic': 'garage-door-opener-car/status', 'unique_id': 'f412fa9c449c-light-ec143116', 'command_topic': 'garage-door-opener-car/light/garage_light/command', 'device': {'manufacturer': 'espressif', 'identifiers': 'f412fa9c449c', 'name': 'Garage Door Opener Car', 'model': 'esp32-s3-devkitc-1', 'sw_version': 'esphome v2024.6.1 Jun 23 2024, 09:48:07', 'suggested_area': ''}, 'state_topic': 'garage-door-opener-car/light/garage_light/state', 'color_mode': True, 'platform': 'mqtt'}. This will stop working in Home Assistant Core 2025.3

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions