Strip duplicate club-name prefix from sensor names

With has_entity_name the device name is prepended, so the API's
'West Wood Club <club>' names rendered as 'West Wood Club West Wood
Club <club>'. Strip the prefix to show e.g. 'West Wood Club Dun
Laoghaire'.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
2026-06-14 00:48:51 +01:00
parent 792d5e176b
commit 475ccf21e6
4 changed files with 11 additions and 5 deletions
+1 -1
View File
@@ -15,7 +15,7 @@
west_wood_club = final.buildHomeAssistantComponent {
owner = "deplayer0";
domain = "west_wood_club";
version = "0.1.0";
version = "0.1.1";
src = ./.;
};
};