From a614fb3cb5c888b061785a7ce25b0f3cbe9b11ce Mon Sep 17 00:00:00 2001 From: jontofront <37038426+jontofront@users.noreply.github.com> Date: Wed, 20 Dec 2023 20:14:44 +0000 Subject: [PATCH] add logger for create entity description --- custom_components/econet300/sensor.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/custom_components/econet300/sensor.py b/custom_components/econet300/sensor.py index 947d1eb..c3b7647 100644 --- a/custom_components/econet300/sensor.py +++ b/custom_components/econet300/sensor.py @@ -34,8 +34,10 @@ @dataclass class EconetSensorEntityDescription(SensorEntityDescription): """Describes Econet sensor entity.""" + process_val: Callable[[Any], Any] = lambda x: x + class EconetSensor(SensorEntity): """Econet Sensor"""