mbillow / ha-chargepoint

Home Assistant ChargePoint EV Charger Integration
MIT License
47 stars 6 forks source link

Renaming devices does not change entity anmes #13

Open davidski opened 2 years ago

davidski commented 2 years ago

Thanks so much for this integration!

I'm running this for integrating with a ChargePoint Flex home EVSE. The connection and states flow through great. When I rename the device in Home Assistant, the rename dialog gives me an explicit option (checked by default) for entities to be renamed to match the device. Despite having this selected, my custom device name (also the name set in the ChargePoint app) does not get reflected in the entities, which stay at their default short model name (CPH 50). I believe this is a problem with the integration rather than HASS.

Please let me know any other debug information I can provide to be helpful. I'm not up enough on the HASS integration structure to offer definitive debugging of the code at this time, but very willing to try anything out/take guidance.

mbillow commented 2 years ago

I think this is less of a limitation imposed by the integration rather than a limitation of the naive pattern matching the “rename entities” function does.

The integration doesn’t limit this in any way, nor do I think that is even possible.