From 0d00e9c2d064a7d74176272c1f6dffac0108d40c Mon Sep 17 00:00:00 2001 From: Shay Levy Date: Wed, 30 Nov 2022 22:01:34 +0200 Subject: [PATCH] Fix Shelly addon analog input sensor (#83005) --- homeassistant/components/shelly/sensor.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/homeassistant/components/shelly/sensor.py b/homeassistant/components/shelly/sensor.py index 7d99f015c5e..6bc3b52b65f 100644 --- a/homeassistant/components/shelly/sensor.py +++ b/homeassistant/components/shelly/sensor.py @@ -417,7 +417,7 @@ RPC_SENSORS: Final = { available=lambda status: status is not None, ), "analoginput": RpcSensorDescription( - key="analoginput", + key="input", sub_key="percent", name="Analog Input", native_unit_of_measurement=PERCENTAGE,