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 Franck Nijhof
parent f61c70b686
commit 3030870de0

View File

@@ -75,7 +75,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