Skip to content

Naming Scheme

David Rapan edited this page Sep 29, 2024 · 14 revisions

Sensor renaming w/ history

Get out of shackles of unperturbable past!

Steps:

  1. Open sensor's detail page and click on ⚙️ Settings in top right corner
  2. Change Entity ID to match new one (Ignore any 's in new sensor name! It's usually just a display name and not projected into an ID)
    First check if entity with that name doesn't already exist and if does delete it using STATISTICS tab in Developer tools!
    Example: Let's say that we want to rename sensor 'Battery SOC' to 'Battery'
    Current Entity ID: sensor.inverter_battery_soc
    New Entity ID: sensor.inverter_battery
  3. Click on UPDATE
  4. (OPTIONAL) Repeat for any number of sensors
  5. Remove device from the integration and then re-add it back again
    Using new inverter definition profile which match new naming scheme.

If you are doing this process before an update to a newer version of the integration which contains changes in naming proceed with restart as required by HA before the step number 5.

Or if you already upgraded and want to restore the history there is a chance you will have to rollback to previous entity names by loading up the device with older inverter profile. Do the history transfer by following the steps and then go back to the newer version of profile.

There is also Detailed guide or ⚠️ Alternative method, use this at your own risk from @philmassie

Clone this wiki locally