mirror of
https://github.com/home-assistant/core.git
synced 2025-08-05 05:35:11 +02:00
Remove soft hyphens from myuplink sensor names (#109845)
Remove soft hyphens from sensor names
This commit is contained in:
committed by
Franck Nijhof
parent
f61c70b686
commit
3030870de0
@@ -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
|
||||
|
Reference in New Issue
Block a user