Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deprecated flag color_mode used in MQTT JSON light config (HA 2024.4.0b0) #21982

Closed
hmmbob opened this issue Mar 28, 2024 · 8 comments
Closed
Labels
problem Something isn't working

Comments

@hmmbob
Copy link
Contributor

hmmbob commented Mar 28, 2024

What happened?

Deprecated flag color_mode used in MQTT JSON light config , the color_mode flag is not used anymore and should be removed. Got: {'availability': [{'topic': 'zigbee2mqtt/bridge/state', 'value_template': '{{ value_json.state }}'}], 'brightness': True, 'brightness_scale': 254, 'color_mode': True, 'command_topic': 'zigbee2mqtt/Ledstrip mini/set', 'device': {'configuration_url': 'https://xxxx//#/device/0xcc86ecfffe5ba135/info', 'identifiers': ['zigbee2mqtt_0xcc86ecfffe5ba135'], 'manufacturer': 'Lidl', 'model': 'Livarno Lux smart LED light strip 2.5m (HG06104A)', 'name': 'Ledstrip mini', 'via_device': 'zigbee2mqtt_bridge_0x00124b0024c94c43'}, 'effect': True, 'effect_list': ['blink', 'breathe', 'okay', 'channel_change', 'finish_effect', 'stop_effect'], 'max_mireds': 500, 'min_mireds': 150, 'name': None, 'object_id': 'ledstrip_mini', 'origin': {'name': 'Zigbee2MQTT', 'sw_version': '1.36.0', 'support_url': 'https://www.zigbee2mqtt.io'}, 'schema': 'json', 'state_topic': 'zigbee2mqtt/Ledstrip mini', 'supported_color_modes': ['xy', 'color_temp'], 'unique_id': '0xcc86ecfffe5ba135_light_zigbee2mqtt', 'platform': 'mqtt'}. This will stop working in Home Assistant Core 2025.3

What did you expect to happen?

No response

How to reproduce it (minimal and precise)

No response

Zigbee2MQTT version

1.36.0

Adapter firmware version

20220103

Adapter

Sonoff

Setup

Docker container

Debug log

No response

@hmmbob hmmbob added the problem Something isn't working label Mar 28, 2024
@Koenkk
Copy link
Owner

Koenkk commented Mar 29, 2024

Since it will break in 1 year from now, lets keep it in to preserve compatibility with older HA versions

@javiges
Copy link

javiges commented Apr 4, 2024

and how can it be fixed, thank you

@amacomber
Copy link

Also having this same issue

@TermeHansen
Copy link

TermeHansen commented Apr 6, 2024

Wouldn't it make more sense to have a setting where one can have old deprecated flags like this posted. I mean if you have latest zb2mqtt, you probably also have latest HA in far most usercases I believe...

@danielkihlgren
Copy link

I agree with @TermeHansen. It's better to make it work with latest versions. Those who choose to stay on old HA are probably those who use old versions of zigbee2mqtt.

@pterisaur
Copy link

Same issue — we no longer have color-changing lights in our house 😞 ...is there a temporary fix?

@hase-00
Copy link

hase-00 commented Apr 8, 2024

I have the same issue. Home Assistant is evolving so rapidly that it makes no sense to use old versions. Those who use old HA versions should also use the corresponding old addons and integrations. Therefore, I believe that the problem should be solved promptly. That's my humble opinion on the matter.

@Koenkk
Copy link
Owner

Koenkk commented Apr 8, 2024

Fixed!

Changes will be available in the dev branch in a few hours from now.

@Koenkk Koenkk closed this as completed Apr 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
problem Something isn't working
Projects
None yet
Development

No branches or pull requests

8 participants