Fix translation bug Renson sensors (#99461)

* Fix translation bug

* Revert "Fix translation bug"

This reverts commit 84b5e90dac.

* Fixed translation of Renson sensor
This commit is contained in:
jimmyd-be
2023-09-02 10:55:12 +02:00
committed by Bram Kragten
parent 9fec0be173
commit caaba5d422

View File

@@ -266,6 +266,8 @@ SENSORS: tuple[RensonSensorEntityDescription, ...] = (
class RensonSensor(RensonEntity, SensorEntity): class RensonSensor(RensonEntity, SensorEntity):
"""Get a sensor data from the Renson API and store it in the state of the class.""" """Get a sensor data from the Renson API and store it in the state of the class."""
_attr_has_entity_name = True
def __init__( def __init__(
self, self,
description: RensonSensorEntityDescription, description: RensonSensorEntityDescription,