Skip to content

Fix entity IDs missing serial number prefix on new installations #234

Merged
Poshy163 merged 1 commit intomainfrom
fix-serial-not-being-appended
Feb 19, 2026
Merged

Fix entity IDs missing serial number prefix on new installations #234
Poshy163 merged 1 commit intomainfrom
fix-serial-not-being-appended

Conversation

@Poshy163
Copy link
Copy Markdown
Collaborator

Fixes #233

  • New integrations set up via the config flow were
    generating entity IDs without the inverter serial
    number (e.g. button.15_minute_charge instead of
    button.al7011023030271_15_minute_charge). This made it
    difficult to identify which device a sensor belongs
    to, especially in multi-inverter setups.

  • Adds suggested_object_id to all entity classes so HA
    includes the serial prefix in the entity ID at
    creation time, without changing the friendly display
    name. all existing installs can recreate entity ID's to the new schema

image

Copy link
Copy Markdown

@Genesis1969 Genesis1969 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sensors renamed now to sensor.[SERIAL]_name_name
Devices are seperated by serialnumber, then sensorname what is right.

Looks ok to me now.

Tnx.

@Poshy163
Copy link
Copy Markdown
Collaborator Author

@CharlesGillanders bump

@Poshy163 Poshy163 merged commit 79f9144 into main Feb 19, 2026
1 check passed
@Poshy163 Poshy163 deleted the fix-serial-not-being-appended branch February 24, 2026 12:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

version v0.8.1 remove device name from sensors name

3 participants