From 9b78f4a8e62f7a549699e49ac66d69c5e6d8525b Mon Sep 17 00:00:00 2001 From: rospogrigio <49229287+rospogrigio@users.noreply.github.com> Date: Mon, 23 Mar 2020 11:19:43 +0100 Subject: [PATCH] Corrected "cover" instead of "switch" in sample configuration --- 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 539d56e..313f7d3 100644 --- a/custom_components/localtuya/cover.py +++ b/custom_components/localtuya/cover.py @@ -3,7 +3,7 @@ Simple platform to control LOCALLY Tuya cover devices. Sample config yaml -switch: +cover: - platform: localtuya host: 192.168.0.123 local_key: 1234567891234567 @@ -11,8 +11,8 @@ switch: name: Cover guests protocol_version: 3.3 id: 1 - """ + import logging import requests