From 0ef31eb4f07fac1e38bcb694043a4e1c953cfb41 Mon Sep 17 00:00:00 2001 From: DonnyBahama Date: Mon, 10 Sep 2018 09:47:22 -0700 Subject: [PATCH] Update tuya.markdown Values should be enclosed in single quotes so I updated the example accordingly. Platform required was set to false; it is required so I changed it to true and added it to the example. Only two platform options were given- tuya and smart_life. My devices required the platform to be set to 'jinvoo_smart' so I updated the platforms to include that option. If there are other known options, I suggest they be listed as well. --- source/_components/tuya.markdown | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/source/_components/tuya.markdown b/source/_components/tuya.markdown index e868b527692c..7176b001448d 100644 --- a/source/_components/tuya.markdown +++ b/source/_components/tuya.markdown @@ -21,9 +21,10 @@ To add your Tuya devices into your Home Assistant installation, add the followin ```yaml tuya: - username: YOUR_TUYA_USERNAME - password: YOUR_TUYA_PASSWORD - country_code: YOUR_ACCOUNT_COUNTRYCODE + username: 'YOUR_TUYA_USERNAME' + password: 'YOUR_TUYA_PASSWORD' + country_code: 'YOUR_ACCOUNT_COUNTRYCODE' + platform: 'YOUR_PLATFORM' ``` {% configuration %} @@ -40,8 +41,8 @@ country_code: required: true type: string platform: - description: "The app where your account register. `tuya` for Tuya Smart and `smart_life` for Smart Life." - required: false + description: "The app where your account register. `tuya` for Tuya Smart, `smart_life` for Smart Life, `jinvoo_smart` for Jinvoo Smart." + required: true type: string default: tuya {% endconfiguration %}