mirror of
https://github.com/home-assistant/core.git
synced 2025-08-06 06:05:10 +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
|
# 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
|
||||||
|
Reference in New Issue
Block a user