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 GitHub
parent 5fd14eade5
commit 1e46ecbb48
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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