From 0a20d2befaa826ba6c562ef791259bd703e440b6 Mon Sep 17 00:00:00 2001 From: Andrew Meepos Date: Fri, 4 Sep 2020 11:18:28 -0700 Subject: [PATCH] Minor tweaks --- custom_components/localtuya/cover.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/custom_components/localtuya/cover.py b/custom_components/localtuya/cover.py index 9f427fe..8cd76cf 100644 --- a/custom_components/localtuya/cover.py +++ b/custom_components/localtuya/cover.py @@ -3,7 +3,7 @@ Simple platform to locally control Tuya-based cover devices. Sample config yaml: -switch: +cover: - platform: localtuya #REQUIRED host: 192.168.0.123 #REQUIRED local_key: 1234567891234567 #REQUIRED @@ -78,7 +78,7 @@ def setup_platform(hass, config, add_entities, discovery_info=None): """Set up Tuya cover devices.""" from . import pytuya - _LOGGER.info("running def setup_platform from cover.py") + #_LOGGER.info("running def setup_platform from cover.py") #_LOGGER.info("conf_open_cmd is %s", config.get(CONF_OPEN_CMD)) #_LOGGER.info("conf_close_cmd is %s", config.get(CONF_CLOSE_CMD)) #_LOGGER.info("conf_STOP_cmd is %s", config.get(CONF_STOP_CMD))