From 4c294adfe88bc81384101e3db0da08820b1b12d0 Mon Sep 17 00:00:00 2001 From: Simone Chemelli Date: Wed, 24 Feb 2021 21:18:14 +0100 Subject: [PATCH] Add missing tilt icon to Shelly tilt sensor (#46993) --- homeassistant/components/shelly/sensor.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/homeassistant/components/shelly/sensor.py b/homeassistant/components/shelly/sensor.py index 36656740b92..32fb33877d3 100644 --- a/homeassistant/components/shelly/sensor.py +++ b/homeassistant/components/shelly/sensor.py @@ -149,7 +149,11 @@ SENSORS = { unit=LIGHT_LUX, device_class=sensor.DEVICE_CLASS_ILLUMINANCE, ), - ("sensor", "tilt"): BlockAttributeDescription(name="Tilt", unit=DEGREE), + ("sensor", "tilt"): BlockAttributeDescription( + name="Tilt", + unit=DEGREE, + icon="mdi:angle-acute", + ), ("relay", "totalWorkTime"): BlockAttributeDescription( name="Lamp life", unit=PERCENTAGE,