From fa06157fe27aaee022b1f0c4fc33e990c5566843 Mon Sep 17 00:00:00 2001 From: ryanbdclark <42173121+ryanbdclark@users.noreply.github.com> Date: Tue, 16 May 2023 21:14:46 +0100 Subject: [PATCH] Update const.py ###Fix * Error in sleep states constant corrected --- custom_components/owlet/const.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/custom_components/owlet/const.py b/custom_components/owlet/const.py index b6789f5..c574fe2 100644 --- a/custom_components/owlet/const.py +++ b/custom_components/owlet/const.py @@ -8,4 +8,4 @@ CONF_OWLET_REFRESH = "refresh" SUPPORTED_VERSIONS = [3] POLLING_INTERVAL = 5 MANUFACTURER = "Owlet Baby Care" -SLEEP_STATES = {1, "Awake", 8, "Light Sleep", 15, "Deep Sleep"} +SLEEP_STATES = {1: "Awake", 8: "Light Sleep", 15: "Deep Sleep"}