mirror of
https://github.com/home-assistant/core.git
synced 2025-07-22 20:57:21 +00:00
Add missing tilt icon to Shelly tilt sensor (#46993)
This commit is contained in:
parent
8d2606134d
commit
4c294adfe8
@ -149,7 +149,11 @@ SENSORS = {
|
|||||||
unit=LIGHT_LUX,
|
unit=LIGHT_LUX,
|
||||||
device_class=sensor.DEVICE_CLASS_ILLUMINANCE,
|
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(
|
("relay", "totalWorkTime"): BlockAttributeDescription(
|
||||||
name="Lamp life",
|
name="Lamp life",
|
||||||
unit=PERCENTAGE,
|
unit=PERCENTAGE,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user