[Bug] None (<class 'custom_components.bambu_lab.light.BambuLabChamberLight'>) does not set supported color modes
Scoop2389 opened this issue · comments
Describe the bug
Hello everyone!
Every restart of home assistant logs this:
WARNING (MainThread) [homeassistant.components.light] None (<class 'custom_components.bambu_lab.light.BambuLabChamberLight'>) does not set supported color modes, this will stop working in Home Assistant Core 2025.3, please create a bug report at https://github.com/greghesp/ha-bambulab/issues
I figured I should probably do as the log says and open an issue here.
To Reproduce
- Start Home Assistant
- Settings -> System -> Logs
- See depreciation warning log message
Expected Behaviour
- Start Home Assistant
- No log message
- Profit??
What device are you using?
X1C
Diagnostic Output
{
"home_assistant": {
"installation_type": "Home Assistant OS",
"version": "2024.3.1",
"dev": false,
"hassio": true,
"virtualenv": false,
"python_version": "3.12.2",
"docker": true,
"arch": "x86_64",
"timezone": "America/New_York",
"os_name": "Linux",
"os_version": "6.6.20-haos",
"supervisor": "2024.03.0",
"host_os": "Home Assistant OS 12.1",
"docker_version": "24.0.7",
"chassis": "embedded",
"run_as_root": true
},
"custom_components": {
"blitzortung": {
"version": "1.0.1",
"requirements": [
"paho-mqtt>=1.5.0"
]
},
"weatherdotcom": {
"version": "1.1.6",
"requirements": []
},
"awnet_local": {
"version": "1.2.0",
"requirements": []
},
"nws_alerts": {
"version": "4.1",
"requirements": []
},
"tapo_control": {
"version": "5.4.13",
"requirements": [
"pytapo==3.3.19"
]
},
"bambu_lab": {
"version": "2.0.15",
"requirements": []
},
"hacs": {
"version": "1.34.0",
"requirements": [
"aiogithubapi>=22.10.1"
]
}
},
"integration_manifest": {
"domain": "bambu_lab",
"name": "Bambu Lab",
"codeowners": [
"@greghesp",
"@AdrianGarside"
],
"config_flow": true,
"dependencies": [
"device_automation",
"ffmpeg",
"mqtt"
],
"documentation": "https://github.com/greghesp/ha-bambulab",
"iot_class": "local_push",
"issue_tracker": "https://github.com/greghesp/ha-bambulab/issues",
"ssdp": [
{
"st": "urn:bambulab-com:device:3dprinter:1"
}
],
"version": "2.0.15",
"is_built_in": false
},
"data": {
"config_entry": {
"entry_id": "9eefda771de84fbce93afbbae5b28e88",
"version": 2,
"minor_version": 1,
"domain": "bambu_lab",
"title": "**REDACTED**",
"data": {
"device_type": "X1C",
"serial": "**REDACTED**"
},
"options": {
"region": "",
"email": "",
"username": "",
"name": "",
"host": "192.168.88.154",
"local_mqtt": true,
"auth_token": "",
"access_code": "**REDACTED**",
"usage_hours": 82.87194444444445
},
"pref_disable_new_entities": false,
"pref_disable_polling": false,
"source": "user",
"unique_id": null,
"disabled_by": null
},
"push_all": {
"ams": {
"ams": [
{
"humidity": "4",
"id": "0",
"temp": "24.6",
"tray": [
{
"bed_temp": "35",
"bed_temp_type": "1",
"cali_idx": -1,
"cols": [
"FFFFFFFF"
],
"ctype": 0,
"drying_temp": "55",
"drying_time": "8",
"id": "0",
"nozzle_temp_max": "230",
"nozzle_temp_min": "190",
"remain": 100,
"tag_uid": "3025CA2F00000100",
"tray_color": "FFFFFFFF",
"tray_diameter": "1.75",
"tray_id_name": "A01-W2",
"tray_info_idx": "GFA01",
"tray_sub_brands": "PLA Matte",
"tray_type": "PLA",
"tray_uuid": "F890B806D7C04BF585FB77E85000471B",
"tray_weight": "1000",
"xcam_info": "D007D007E803E8030000803F"
},
{
"id": "1"
},
{
"bed_temp": "45",
"bed_temp_type": "1",
"cali_idx": -1,
"cols": [
"000000FF"
],
"ctype": 0,
"drying_temp": "55",
"drying_time": "8",
"id": "2",
"nozzle_temp_max": "230",
"nozzle_temp_min": "190",
"remain": 34,
"tag_uid": "2057C45D00000100",
"tray_color": "000000FF",
"tray_diameter": "1.75",
"tray_id_name": "A00-K0",
"tray_info_idx": "GFA00",
"tray_sub_brands": "PLA Basic",
"tray_type": "PLA",
"tray_uuid": "DB4F5816E8414682B6660E7EBC2CFAFC",
"tray_weight": "1000",
"xcam_info": "803E803EE803E803CDCC4C3F"
},
{
"bed_temp": "35",
"bed_temp_type": "1",
"cali_idx": -1,
"cols": [
"0078BFFF"
],
"ctype": 0,
"drying_temp": "55",
"drying_time": "8",
"id": "3",
"nozzle_temp_max": "230",
"nozzle_temp_min": "190",
"remain": 72,
"tag_uid": "EDEA8F9400000100",
"tray_color": "0078BFFF",
"tray_diameter": "1.75",
"tray_id_name": "A01-B3",
"tray_info_idx": "GFA01",
"tray_sub_brands": "PLA Matte",
"tray_type": "PLA",
"tray_uuid": "72C9B8DE87AF42F5B1D158F0B12C45F4",
"tray_weight": "1000",
"xcam_info": "D007D007E803E8033333333F"
}
]
},
{
"humidity": "4",
"id": "1",
"temp": "25.2",
"tray": [
{
"bed_temp": "35",
"bed_temp_type": "1",
"cali_idx": -1,
"cols": [
"BB3D43FF"
],
"ctype": 0,
"drying_temp": "55",
"drying_time": "8",
"id": "0",
"nozzle_temp_max": "230",
"nozzle_temp_min": "190",
"remain": 27,
"tag_uid": "E060155F00000100",
"tray_color": "BB3D43FF",
"tray_diameter": "1.75",
"tray_id_name": "A01-R4",
"tray_info_idx": "GFA01",
"tray_sub_brands": "PLA Matte",
"tray_type": "PLA",
"tray_uuid": "076C4E564EE745CFB46A2CA452B7ED1E",
"tray_weight": "1000",
"xcam_info": "D0078813E803E8036666663F"
},
{
"bed_temp": "0",
"bed_temp_type": "2",
"cali_idx": -1,
"cols": [
"FFC600FF"
],
"ctype": 0,
"drying_temp": "55",
"drying_time": "8",
"id": "1",
"nozzle_temp_max": "240",
"nozzle_temp_min": "200",
"remain": 96,
"tag_uid": "ED85959400000100",
"tray_color": "FFC600FF",
"tray_diameter": "1.75",
"tray_id_name": "A05-Y4",
"tray_info_idx": "GFA05",
"tray_sub_brands": "PLA Silk",
"tray_type": "PLA",
"tray_uuid": "EEBD445B0BFC4155B22A39AD1E93B25A",
"tray_weight": "1000",
"xcam_info": "A438803EE803E8033333333F"
},
{
"bed_temp": "35",
"bed_temp_type": "1",
"cali_idx": -1,
"cols": [
"9B9EA0FF"
],
"ctype": 0,
"drying_temp": "55",
"drying_time": "8",
"id": "2",
"nozzle_temp_max": "230",
"nozzle_temp_min": "190",
"remain": 80,
"tag_uid": "5DEA6A9400000100",
"tray_color": "9B9EA0FF",
"tray_diameter": "1.75",
"tray_id_name": "A01-D3",
"tray_info_idx": "GFA01",
"tray_sub_brands": "PLA Matte",
"tray_type": "PLA",
"tray_uuid": "11D7A14E23F847CB9962D46335167DBB",
"tray_weight": "1000",
"xcam_info": "D007D007E803E8030000803F"
},
{
"bed_temp": "0",
"bed_temp_type": "2",
"cali_idx": -1,
"cols": [
"00000000"
],
"ctype": 0,
"drying_temp": "65",
"drying_time": "8",
"id": "3",
"nozzle_temp_max": "270",
"nozzle_temp_min": "220",
"remain": 71,
"tag_uid": "B0C9C95D00000100",
"tray_color": "00000000",
"tray_diameter": "1.75",
"tray_id_name": "G00-C1",
"tray_info_idx": "GFG00",
"tray_sub_brands": "PETG Basic",
"tray_type": "PETG",
"tray_uuid": "9812105C480E42E386CE54989575D38B",
"tray_weight": "1000",
"xcam_info": "AC0DAC0D8403E803CDCCCC3E"
}
]
},
{
"humidity": "5",
"id": "2",
"temp": "25.9",
"tray": [
{
"bed_temp": "0",
"bed_temp_type": "0",
"cali_idx": -1,
"cols": [
"443089FF"
],
"ctype": 0,
"drying_temp": "0",
"drying_time": "0",
"id": "0",
"nozzle_temp_max": "240",
"nozzle_temp_min": "190",
"remain": -1,
"tag_uid": "0000000000000000",
"tray_color": "443089FF",
"tray_diameter": "0.00",
"tray_id_name": "",
"tray_info_idx": "GFA00",
"tray_sub_brands": "",
"tray_type": "PLA",
"tray_uuid": "00000000000000000000000000000000",
"tray_weight": "0",
"xcam_info": "000000000000000000000000"
},
{
"bed_temp": "0",
"bed_temp_type": "0",
"cali_idx": -1,
"cols": [
"F50082FE"
],
"ctype": 0,
"drying_temp": "0",
"drying_time": "0",
"id": "1",
"nozzle_temp_max": "240",
"nozzle_temp_min": "190",
"remain": -1,
"tag_uid": "0000000000000000",
"tray_color": "F50082FE",
"tray_diameter": "0.00",
"tray_id_name": "",
"tray_info_idx": "GFL99",
"tray_sub_brands": "",
"tray_type": "PLA",
"tray_uuid": "00000000000000000000000000000000",
"tray_weight": "0",
"xcam_info": "000000000000000000000000"
},
{
"bed_temp": "35",
"bed_temp_type": "1",
"cali_idx": -1,
"cols": [
"FFE17FFF"
],
"ctype": 0,
"drying_temp": "55",
"drying_time": "8",
"id": "2",
"nozzle_temp_max": "230",
"nozzle_temp_min": "190",
"remain": 92,
"tag_uid": "D0CBB52F00000100",
"tray_color": "FFE17FFF",
"tray_diameter": "1.75",
"tray_id_name": "A01-Y2",
"tray_info_idx": "GFA01",
"tray_sub_brands": "PLA Matte",
"tray_type": "PLA",
"tray_uuid": "A9E22F02F9344C0A9FAB3C07F48AD383",
"tray_weight": "1000",
"xcam_info": "D007D007E803E8039A99193F"
},
{
"bed_temp": "35",
"bed_temp_type": "1",
"cali_idx": -1,
"cols": [
"8BD5EEFF"
],
"ctype": 0,
"drying_temp": "55",
"drying_time": "8",
"id": "3",
"nozzle_temp_max": "230",
"nozzle_temp_min": "190",
"remain": 92,
"tag_uid": "C045CF2F00000100",
"tray_color": "8BD5EEFF",
"tray_diameter": "1.75",
"tray_id_name": "A01-B4",
"tray_info_idx": "GFA01",
"tray_sub_brands": "PLA Matte",
"tray_type": "PLA",
"tray_uuid": "35246F37E2FC40DFA0ED2E7E30FEF135",
"tray_weight": "1000",
"xcam_info": "8813100EE803E8030000803F"
}
]
}
],
"ams_exist_bits": "7",
"insert_flag": true,
"power_on_flag": false,
"tray_exist_bits": "ffd",
"tray_is_bbl_bits": "ffd",
"tray_now": "255",
"tray_pre": "255",
"tray_read_done_bits": "ffd",
"tray_reading_bits": "0",
"tray_tar": "255",
"version": 88911
},
"ams_rfid_status": 0,
"ams_status": 0,
"aux_part_fan": true,
"bed_target_temper": 0.0,
"bed_temper": 22.0,
"big_fan1_speed": "0",
"big_fan2_speed": "0",
"cali_version": 0,
"chamber_temper": 25.0,
"command": "push_status",
"cooling_fan_speed": "0",
"ctt": 0,
"fail_reason": "0",
"fan_gear": 0,
"filam_bak": [],
"force_upgrade": false,
"gcode_file": "/data/Metadata/plate_1.gcode",
"gcode_file_prepare_percent": "100",
"gcode_start_time": "1710454525",
"gcode_state": "FINISH",
"heatbreak_fan_speed": "0",
"hms": [],
"home_flag": 6409616,
"hw_switch_state": 0,
"ipcam": {
"ipcam_dev": "1",
"ipcam_record": "enable",
"mode_bits": 2,
"resolution": "1080p",
"rtsp_url": "**REDACTED**",
"timelapse": "disable",
"tutk_server": "disable"
},
"job_id": "60203958",
"layer_num": 94,
"lifecycle": "product",
"lights_report": [
{
"mode": "off",
"node": "chamber_light"
},
{
"mode": "flashing",
"node": "work_light"
}
],
"maintain": 3,
"mc_percent": 100,
"mc_print_error_code": "0",
"mc_print_stage": "1",
"mc_print_sub_stage": 0,
"mc_remaining_time": 0,
"mess_production_state": "active",
"net": {
"conf": 16,
"info": [
{
"ip": 2589501632,
"mask": 16777215
},
{
"ip": 0,
"mask": 0
}
]
},
"nozzle_diameter": "0.4",
"nozzle_target_temper": 0.0,
"nozzle_temper": 25.0,
"nozzle_type": "hardened_steel",
"online": {
"ahb": true,
"ext": false,
"version": 13
},
"print_error": 0,
"print_gcode_action": 255,
"print_real_action": 0,
"print_type": "cloud",
"profile_id": "58786151",
"project_id": "59877746",
"queue_est": 0,
"queue_number": 0,
"queue_sts": 0,
"queue_total": 0,
"s_obj": [],
"sdcard": true,
"sequence_id": "2021",
"spd_lvl": 2,
"spd_mag": 100,
"stg": [
2,
14,
1
],
"stg_cur": -1,
"subtask_id": "117620751",
"subtask_name": "camera-mount-go",
"task_id": "117620750",
"total_layer_num": 94,
"upgrade_state": {
"ahb_new_version_number": "",
"ams_new_version_number": "",
"consistency_request": false,
"dis_state": 0,
"err_code": 0,
"ext_new_version_number": "",
"force_upgrade": false,
"idx": 13,
"message": "",
"module": "null",
"new_version_state": 2,
"ota_new_version_number": "",
"progress": "0",
"sequence_id": 0,
"sn": "**REDACTED**",
"status": "IDLE"
},
"upload": {
"file_size": 0,
"finish_size": 0,
"message": "Good",
"oss_url": "",
"progress": 0,
"sequence_id": "0903",
"speed": 0,
"status": "idle",
"task_id": "",
"time_remaining": 0,
"trouble_id": ""
},
"vt_tray": {
"bed_temp": "0",
"bed_temp_type": "0",
"cali_idx": -1,
"cols": [
"9B9EA0FF"
],
"ctype": 0,
"drying_temp": "0",
"drying_time": "0",
"id": "254",
"nozzle_temp_max": "250",
"nozzle_temp_min": "200",
"remain": 0,
"tag_uid": "0000000000000000",
"tray_color": "9B9EA0FF",
"tray_diameter": "0.00",
"tray_id_name": "",
"tray_info_idx": "GFU01",
"tray_sub_brands": "",
"tray_type": "TPU",
"tray_uuid": "00000000000000000000000000000000",
"tray_weight": "0",
"xcam_info": "000000000000000000000000"
},
"wifi_signal": "-60dBm",
"xcam": {
"allow_skip_parts": false,
"buildplate_marker_detector": false,
"first_layer_inspector": false,
"halt_print_sensitivity": "medium",
"print_halt": true,
"printing_monitor": true,
"spaghetti_detector": true
},
"xcam_status": "0"
},
"get_version": {
"command": "get_version",
"module": [
{
"hw_ver": "",
"name": "ota",
"sn": "",
"sw_ver": "01.07.02.00"
},
{
"hw_ver": "AP05",
"name": "rv1126",
"sn": "**REDACTED**",
"sw_ver": "00.00.28.55"
},
{
"hw_ver": "TH09",
"name": "th",
"sn": "**REDACTED**",
"sw_ver": "00.00.07.12"
},
{
"hw_ver": "MC07",
"name": "mc",
"sn": "**REDACTED**",
"sw_ver": "00.00.22.37/00.00.22.37"
},
{
"hw_ver": "",
"name": "xm",
"sn": "",
"sw_ver": "00.01.02.02"
},
{
"hw_ver": "AMS08",
"name": "ams/0",
"sn": "**REDACTED**",
"sw_ver": "00.00.06.40"
},
{
"hw_ver": "AMS08",
"name": "ams/1",
"sn": "**REDACTED**",
"sw_ver": "00.00.06.40"
},
{
"hw_ver": "AMS08",
"name": "ams/2",
"sn": "**REDACTED**",
"sw_ver": "00.00.06.40"
},
{
"hw_ver": "AHB01",
"name": "ahb",
"sn": "**REDACTED**",
"sw_ver": "00.00.00.42"
}
],
"sequence_id": "0"
}
}
}
Log Extracts
WARNING (MainThread) [homeassistant.components.light] None (<class 'custom_components.bambu_lab.light.BambuLabChamberLight'>) does not set supported color modes, this will stop working in Home Assistant Core 2025.3, please create a bug report at https://github.com/greghesp/ha-bambulab/issues
Other Information
No response
I just noticed the same issue in the logs.
We have some time (until 2025.3).
Ref: https://developers.home-assistant.io/blog/2024/02/12/light-color-mode-mandatory