mirror of
https://github.com/home-assistant/core.git
synced 2025-07-27 07:07:28 +00:00
Remove soft hyphens from myuplink sensor names (#109845)
Remove soft hyphens from sensor names
This commit is contained in:
parent
34220200c1
commit
5d1da0b3e4
@ -91,7 +91,7 @@ class MyUplinkDevicePointSensor(MyUplinkEntity, SensorEntity):
|
|||||||
|
|
||||||
# Internal properties
|
# Internal properties
|
||||||
self.point_id = device_point.parameter_id
|
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:
|
if entity_description is not None:
|
||||||
self.entity_description = entity_description
|
self.entity_description = entity_description
|
||||||
|
Loading…
x
Reference in New Issue
Block a user