From caaba5d422fba47a87d56c1e637845ecbfb98227 Mon Sep 17 00:00:00 2001 From: jimmyd-be <34766203+jimmyd-be@users.noreply.github.com> Date: Sat, 2 Sep 2023 10:55:12 +0200 Subject: [PATCH] Fix translation bug Renson sensors (#99461) * Fix translation bug * Revert "Fix translation bug" This reverts commit 84b5e90dac1e75a4c9f6d890865ac42044858682. * Fixed translation of Renson sensor --- homeassistant/components/renson/sensor.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/homeassistant/components/renson/sensor.py b/homeassistant/components/renson/sensor.py index c8a355a0f7c..661ab82f373 100644 --- a/homeassistant/components/renson/sensor.py +++ b/homeassistant/components/renson/sensor.py @@ -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,