Adding Multiple Cars in Home Assistant #4423
-
Hi I recently got teslamate up and running and integrated into HA but I am having an issue getting the second car to show up in HA. So I have two cars in the same Tesla account, they both show up in teslamate, both flow over to MQTT(Car 1 & 2) but in HA I only see car 1. I'm sure this has to do with my mqtt_sensors.yaml as this only addresses car 1 but I'm unsure how to add the second. Should I add another yaml file with the second car and add that to the configuration.yaml? Thank you |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Yes, you can use the same file. Take the example of mqtt_sensors.yaml and copy it over to notepad. Do a find and replace so that it replaces a few things
What I did was make the object_id and unique_object_id contain the name of my named vehicles so that it was clear as to which item was for which vehicle. All of it is placed in the same yaml |
Beta Was this translation helpful? Give feedback.
Yes, you can use the same file. Take the example of mqtt_sensors.yaml and copy it over to notepad. Do a find and replace so that it replaces a few things
I would make a top level comment for each vehicle so that you can see each section easier.
What I did was make the object_id and unique_object_id contain the name of my named vehicles so that it was clear as to which item was for which vehicle. All of it is placed in the same yaml