Remove soft hyphens from myuplink sensor names (#109845)

Remove soft hyphens from sensor names
This commit is contained in:
Åke Strandberg
2024-02-07 15:26:00 +01:00
committed by GitHub
parent 34220200c1
commit 5d1da0b3e4

View File

@@ -91,7 +91,7 @@ class MyUplinkDevicePointSensor(MyUplinkEntity, SensorEntity):
# Internal properties
self.point_id = device_point.parameter_id
self._attr_name = device_point.parameter_name
self._attr_name = device_point.parameter_name.replace("\u002d", "")
if entity_description is not None:
self.entity_description = entity_description