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
This commit is contained in:
huangyupeng 2018-08-21 00:21:11 +08:00 committed by Fabian Affolter
parent d061d2858d
commit 9b9fdb4946

View File

@ -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 %}