Skip to content

Commit 52121d9

Browse files
committed
fixup! sanitise entity_ids
1 parent c699d8c commit 52121d9

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

custom_components/auroraplus/sensor.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -286,7 +286,9 @@ def unique_id(self):
286286

287287
@property
288288
def statistic_id(self) -> str:
289-
return self._uniqueid
289+
_LOGGER.debug("Statistic_id: %s",
290+
'sensor:' + self._uniqueid)
291+
return 'sensor:' + self._uniqueid
290292

291293
@property
292294
def unit_of_measurement(self):

0 commit comments

Comments
 (0)