From 9b9fdb494629298472136fb704b497053aff7e19 Mon Sep 17 00:00:00 2001 From: huangyupeng Date: Tue, 21 Aug 2018 00:21:11 +0800 Subject: [PATCH] Add platform param (#6048) * Add platform param Add platform to distinguish accounts from different apps The value could be 'tuya' or 'smart_life'. Default is 'tuya'. related pull request is home-assistant/home-assistant#16058 * Minor fixes --- source/_components/tuya.markdown | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/source/_components/tuya.markdown b/source/_components/tuya.markdown index 75b6aecf699..e868b527692 100644 --- a/source/_components/tuya.markdown +++ b/source/_components/tuya.markdown @@ -39,6 +39,11 @@ country_code: description: "Your account [country code](https://www.countrycode.org/) (e.g., 1 for USA or 86 for China)." required: true type: string +platform: + description: "The app where your account register. `tuya` for Tuya Smart and `smart_life` for Smart Life." + required: false + type: string + default: tuya {% endconfiguration %} ## {% linkable_title Service %}