From 94c3af1c7d49533f8a66b9e5490aae575bf458dc Mon Sep 17 00:00:00 2001 From: Tim Date: Thu, 19 Aug 2021 19:56:54 +0930 Subject: [PATCH] update to new fan entity percentage --- custom_components/localtuya/const.py | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/custom_components/localtuya/const.py b/custom_components/localtuya/const.py index b110ed4..9662b3b 100644 --- a/custom_components/localtuya/const.py +++ b/custom_components/localtuya/const.py @@ -33,10 +33,13 @@ CONF_SPAN_TIME = "span_time" # fan CONF_FAN_SPEED_CONTROL = "fan_speed_control" -# CONF_FAN_OSCILLATING_CONTROL = "fan_oscillating_control" +CONF_FAN_OSCILLATING_CONTROL = "fan_oscillating_control" +CONF_FAN_SPEED_MIN = "fan_speed_min" +CONF_FAN_SPEED_MAX = "fan_speed_max" +CONF_FAN_ORDERED_LIST = "fan_speed_ordered_list" CONF_FAN_DIRECTION = "fan_direction" -CONF_FAN_SPEED_COUNT = "fan_speed_count" - +CONF_FAN_DIRECTION_FWD = "fan_direction_forward" +CONF_FAN_DIRECTION_REV = "fan_direction_reverse" # sensor CONF_SCALING = "scaling"