From bfea1367a7c4174312f0c3809505df6c69f1c88f Mon Sep 17 00:00:00 2001 From: Raman Gupta <7243222+raman325@users.noreply.github.com> Date: Tue, 4 Apr 2023 06:42:33 -0400 Subject: [PATCH] Add `ms` to units comment for duration sensor device class (#90757) --- homeassistant/components/sensor/const.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/homeassistant/components/sensor/const.py b/homeassistant/components/sensor/const.py index 892bc611b3d..e829c8a8e49 100644 --- a/homeassistant/components/sensor/const.py +++ b/homeassistant/components/sensor/const.py @@ -75,7 +75,7 @@ class SensorDeviceClass(StrEnum): DURATION = "duration" """Fixed duration. - Unit of measurement: `d`, `h`, `min`, `s` + Unit of measurement: `d`, `h`, `min`, `s`, `ms` """ ENUM = "enum"