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

Platform mg_saic does not generate unique IDs. #92

Closed
3 of 4 tasks
ChrisPiel70 opened this issue Jan 29, 2025 · 1 comment · Fixed by #93
Closed
3 of 4 tasks

Platform mg_saic does not generate unique IDs. #92

ChrisPiel70 opened this issue Jan 29, 2025 · 1 comment · Fixed by #93
Assignees
Labels
bug Something isn't working solved for next release

Comments

@ChrisPiel70
Copy link

Home Assistant Version

2025.1.4

MG/SAIC Integration Version

0.8.2

Installation Method

HACS

Did you check for existing issues?

  • Yes, I have checked for existing issues
  • No, I have not checked for existing issues

Did you enable debug logging before and are ready to post logs?

  • Yes, I have enabled debug logging
  • No, I have not enabled debug logging

Describe the Issue

We have 2 MG EVs, a Marvel-R and a MG4 and I have been using saic-python-client and saic-python-mqtt-gateway for over a year. I was exited tu be able use this HA Component. When I add the second EV with this Component the Entities are named after the first EV and become a "_2" ending in Name. When using the MQTT Gateway, the Enitites have the VIN in Name as this is unique even with more EVs from the same model.

Image

Image

Logs

2025-01-28 16:03:29.158 ERROR (MainThread) [homeassistant.components.button] Platform mg_saic does not generate unique IDs. ID LSJE24094PS021713_trigger_alarm_button already exists - ignoring button.mg_marvel_r_electric_trigger_alarm
2025-01-28 16:03:29.158 ERROR (MainThread) [homeassistant.components.button] Platform mg_saic does not generate unique IDs. ID LSJE24094PS021713_update_vehicle_data_button already exists - ignoring button.mg_marvel_r_electric_update_vehicle_data
2025-01-28 16:03:29.159 ERROR (MainThread) [homeassistant.components.climate] Platform mg_saic does not generate unique IDs. ID LSJE24094PS021713_climate already exists - ignoring climate.mg_marvel_r_electric_climate
2025-01-28 16:03:29.161 ERROR (MainThread) [homeassistant.components.lock] Platform mg_saic does not generate unique IDs. ID LSJE24094PS021713_lock already exists - ignoring lock.mg_marvel_r_electric_lock
2025-01-28 16:03:29.161 ERROR (MainThread) [homeassistant.components.lock] Platform mg_saic does not generate unique IDs. ID LSJE24094PS021713_boot_lock already exists - ignoring lock.mg_marvel_r_electric_boot
2025-01-28 16:03:29.161 ERROR (MainThread) [homeassistant.components.number] Platform mg_saic does not generate unique IDs. ID LSJE24094PS021713_target_soc already exists - ignoring number.mg_marvel_r_electric_target_soc
2025-01-28 16:03:29.162 ERROR (MainThread) [homeassistant.components.select] Platform mg_saic does not generate unique IDs. ID LSJE24094PS021713_charging_current_limit already exists - ignoring select.mg_marvel_r_electric_charging_current_limit
2025-01-28 16:03:29.193 ERROR (MainThread) [homeassistant.components.switch] Platform mg_saic does not generate unique IDs. ID LSJE24094PS021713_ac_blowing_switch already exists - ignoring switch.mg_marvel_r_electric_ac_blowing
2025-01-28 16:03:29.193 ERROR (MainThread) [homeassistant.components.switch] Platform mg_saic does not generate unique IDs. ID LSJE24094PS021713_front_defrost_switch already exists - ignoring switch.mg_marvel_r_electric_front_defrost
2025-01-28 16:03:29.193 ERROR (MainThread) [homeassistant.components.switch] Platform mg_saic does not generate unique IDs. ID LSJE24094PS021713_rear_window_defrost_switch already exists - ignoring switch.mg_marvel_r_electric_rear_window_defrost
2025-01-28 16:03:29.193 ERROR (MainThread) [homeassistant.components.switch] Platform mg_saic does not generate unique IDs. ID LSJE24094PS021713_charging_switch already exists - ignoring switch.mg_marvel_r_electric_charging
2025-01-28 16:03:29.193 ERROR (MainThread) [homeassistant.components.switch] Platform mg_saic does not generate unique IDs. ID LSJE24094PS021713_charging_port_lock_switch already exists - ignoring switch.mg_marvel_r_electric_charging_port_lock

Additional Context

No response

@ChrisPiel70 ChrisPiel70 added the bug Something isn't working label Jan 29, 2025
@ad-ha
Copy link
Owner

ad-ha commented Jan 29, 2025

Hi @ChrisPiel70

Thanks for bringing this up.

I will have a look and see if I can do a quick fix.

Cheers

@ad-ha ad-ha self-assigned this Jan 29, 2025
@ad-ha ad-ha mentioned this issue Jan 30, 2025
@ad-ha ad-ha closed this as completed Jan 30, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working solved for next release
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants