From 181ba360b7320157a27c1e8812afd53165a7abd0 Mon Sep 17 00:00:00 2001 From: rospogrigio <49229287+rospogrigio@users.noreply.github.com> Date: Fri, 4 Sep 2020 22:44:46 +0200 Subject: [PATCH] Added fan support --- README.md | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/README.md b/README.md index 70d1f40..a436c23 100644 --- a/README.md +++ b/README.md @@ -9,6 +9,7 @@ The following Tuya device types are currently supported: * Wi-Fi plugs (including those with additional USB plugs) * Lights * Covers +* Fans Energy monitoring (voltage, current, watts, etc.) is supported for compatible devices. @@ -81,6 +82,19 @@ Alternatively, you can install localtuya through HACS by adding this repository. close_cmd: close #OPTIONAL, default is 'off' stop_cmd: stop #OPTIONAL, default is 'stop' ``` + +``` + #### FAN #### + fan: + - platform: localtuya + host: 192.168.0.123 + local_key: 1234567891234567 + device_id: 123456789123456789abcd + name: fan guests + friendly_name: fan guests + protocol_version: 3.3 + id: 1 +``` 2. Enable debug logging in your configuration.yaml file. ```