xraver / mercedes_me_api

Script to use Mercedes Me APIs.
MIT License
57 stars 14 forks source link

Add unique IDs #4

Closed danielrheinbay closed 3 years ago

danielrheinbay commented 3 years ago

Add unique IDs for sensors. This allows users to rename the sensors and add icons all from within Home Assistant GUI. Unique IDs are generated by concatenating the VIN with the sensor name, as recommended here https://developers.home-assistant.io/docs/entity_registry_index/#unique-id-requirements

Disclosure: I am employed by Mercedes-Benz AG. But while I am affiliated with Mercedes-Benz, I make this contribution as a private individual, not in my professional capacity. This contribution is in no way related to my employment with Mercedes-Benz AG and/or Mercedes-Benz.