From 7823ca1382b98d81c2023d40b61b92d4ca148f0d Mon Sep 17 00:00:00 2001 From: mileperhour <45832940+mileperhour@users.noreply.github.com> Date: Tue, 2 Apr 2019 18:36:45 +0200 Subject: [PATCH] Update README.md --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index c98fba9..33206f1 100644 --- a/README.md +++ b/README.md @@ -20,6 +20,8 @@ Local handling for Tuya Devices under Home-Assistant and Hassio, getting paramet pass return attrs ``` + NOTE: Original data from the device for Voltage and Watt, includes the first decimal. So if the value is 2203, the correct value is 220,3V. By this reason, this values are divided by 10 ('/10' in the script). While Current is sent in mA (int number, no decimals), so it don't need any conversion factor to be added on the declaration. + 4. Use this declaration on your configuration.yaml file (you need to get the 'device_id' and 'local_key' parameters for your device, as it can be obtained on other tutorials on the web: ``` switch: