From 4dedeb50ca35e06e0600ce7e2666598d4d020a24 Mon Sep 17 00:00:00 2001 From: Jeff Steinbok Date: Sun, 25 Jun 2023 22:02:06 -0700 Subject: [PATCH 1/3] Update README.md --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index 61f2cbc..fc536bf 100644 --- a/README.md +++ b/README.md @@ -11,8 +11,10 @@ Currently supported fans: - DR-HTF001S - DR-HTF002S - DR-HTF008S +- DR-HTF007S - DR-HTF004S + The integration will not load if the fan is of another model. If you have a different model that you can try, let me know in the Issues and I'll add it. Please make sure to include: * Model - in the format above * Number of speeds the fan supports (not including "off") From 456a99cf2997dad116d78e5725de30a87fcf40df Mon Sep 17 00:00:00 2001 From: Jeff Steinbok Date: Sun, 25 Jun 2023 22:03:13 -0700 Subject: [PATCH 2/3] Update constant.py --- custom_components/dreo/pydreo/constant.py | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/custom_components/dreo/pydreo/constant.py b/custom_components/dreo/pydreo/constant.py index f0cfcb6..cf111e0 100644 --- a/custom_components/dreo/pydreo/constant.py +++ b/custom_components/dreo/pydreo/constant.py @@ -17,16 +17,18 @@ FAN_MODE_SLEEP = "sleep" PRESET_MODES = { - "DR-HTF008S": [FAN_MODE_NORMAL, FAN_MODE_NATURAL, FAN_MODE_SLEEP, FAN_MODE_AUTO], "DR-HTF001S": [FAN_MODE_NORMAL, FAN_MODE_NATURAL, FAN_MODE_SLEEP, FAN_MODE_AUTO], "DR-HTF002S": [FAN_MODE_NORMAL, FAN_MODE_NATURAL, FAN_MODE_SLEEP, FAN_MODE_AUTO], - "DR-HTF004S": [FAN_MODE_NORMAL, FAN_MODE_NATURAL, FAN_MODE_SLEEP, FAN_MODE_AUTO] + "DR-HTF004S": [FAN_MODE_NORMAL, FAN_MODE_NATURAL, FAN_MODE_SLEEP, FAN_MODE_AUTO], + "DR-HTF007S": [FAN_MODE_NORMAL, FAN_MODE_NATURAL, FAN_MODE_SLEEP, FAN_MODE_AUTO], + "DR-HTF008S": [FAN_MODE_NORMAL, FAN_MODE_NATURAL, FAN_MODE_SLEEP, FAN_MODE_AUTO] } SPEED_RANGES = { # off is not included - "DR-HTF008S": (1, 5), "DR-HTF001S": (1, 6), "DR-HTF002S": (1, 6), "DR-HTF004S": (1, 12), + "DR-HTF007S": (1, 4), + "DR-HTF008S": (1, 5) } From 8d57fc04b7fb903781f22308fa103ab5e4251b67 Mon Sep 17 00:00:00 2001 From: Jeff Steinbok Date: Sun, 25 Jun 2023 22:03:39 -0700 Subject: [PATCH 3/3] Update README.md --- README.md | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index fc536bf..8d5c308 100644 --- a/README.md +++ b/README.md @@ -10,10 +10,9 @@ Currently supported fans: - DR-HTF001S - DR-HTF002S -- DR-HTF008S -- DR-HTF007S - DR-HTF004S - +- DR-HTF007S +- DR-HTF008S The integration will not load if the fan is of another model. If you have a different model that you can try, let me know in the Issues and I'll add it. Please make sure to include: * Model - in the format above