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
@@ -7,5 +7,5 @@
"integration_type": "service",
"iot_class": "cloud_polling",
"requirements": [],
"version": "0.1.0"
"version": "0.1.1"
}