From 1d80202cabe2e07ce46aafc4db9b285fdd35d682 Mon Sep 17 00:00:00 2001 From: Tim Empringham Date: Wed, 2 Sep 2020 15:26:46 -0400 Subject: [PATCH] Updated template for configuration.yaml and removed redundant chanage to pytuya. --- custom_components/localtuya/light.py | 1 + custom_components/localtuya/pytuya/__init__.py | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/custom_components/localtuya/light.py b/custom_components/localtuya/light.py index d1a58ed..2fe8d83 100644 --- a/custom_components/localtuya/light.py +++ b/custom_components/localtuya/light.py @@ -9,6 +9,7 @@ light: local_key: 1234567891234567 device_id: 12345678912345671234 name: tuya_01 + friendly_name: This Light protocol_version: 3.3 """ import voluptuous as vol diff --git a/custom_components/localtuya/pytuya/__init__.py b/custom_components/localtuya/pytuya/__init__.py index 0dd085f..7caad0a 100644 --- a/custom_components/localtuya/pytuya/__init__.py +++ b/custom_components/localtuya/pytuya/__init__.py @@ -6,7 +6,7 @@ # This would not exist without the protocol reverse engineering from # https://github.com/codetheweb/tuyapi by codetheweb and blackrozes # -# Tested with Python 2.7 and Python 3.6.1 only () +# Tested with Python 2.7 and Python 3.6.1 only import base64