-
Notifications
You must be signed in to change notification settings - Fork 224
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
Home Assistant Integration uses depreciated flags #827
Comments
Hi, i have the exact same problem. Errors showing up i Home assistant. Anybody looking at the problem? |
This is not a MiLight bug. It is due to the changes in the MQTT Light configuration defined by Home Assistant. I would assume your YAML config has the following "rgb: true" or "color_temp: true" |
left a comment on the related issue here: #823 (comment) i won't be able to look at this for a while but happy to give some pointers if anyone is interested in giving it a shot. |
Should be fixed in the 1.12.0-beta1 build. @matthew-hz can you try it out? |
Been using this beta release for a few days now. No errors at all in Homeassistant. Thank you :) |
Home Assistant is able to control my lights again after installing 1.12.0-beta1 build. Thanks! Would it be possible to get file hashes added to the releases? |
I also had the same error, I have now updated to 1.12.0-beta1 and we will see (So far so good) |
Describe the bug
Home Assistant Integration uses depreciated flags.
Deprecated flags [rgb, color_temp] used in MQTT JSON light config for handling color mode, please use
supported_color_modes
instead. Got: {'device_class': 'light', 'schema': 'json', 'name': 'Back Columns 5', 'command_topic': 'milight/0x2002/rgb_cct/1', 'state_topic': 'milight/states/0x2002/rgb_cct/1', 'unique_id': '5FB8AA-Back Columns 5', 'device': {'name': 'milight-hub1', 'sw_version': 'esp8266_milight_hub v1.11.2', 'manufacturer': 'espressif', 'model': 'nodemcuv2', 'identifiers': '6273194', 'configuration_url': 'http://192.168.1.105'}, 'availability_topic': 'milight/client_status', 'payload_available': 'connected', 'payload_not_available': 'disconnected', 'brightness': True, 'effect': True, 'effect_list': ['night_mode', 'white_mode', '0', '1', '2', '3', '4', '5', '6', '7', '8'], 'rgb': True, 'color_temp': True, 'max_mireds': 370, 'min_mireds': 153, 'platform': 'mqtt'}. This will stop working in Home Assistant Core 2025.3Steps to reproduce
On startup of Home Assistant.
Expected behavior
N/A
Setup information
Firmware version
1.11.2
Output of http://milight-hub.local/about
Output of http://milight-hub.local/settings
Additional context
The text was updated successfully, but these errors were encountered: