Tuya Docs: Added note that username may be phone number (#5958)

* Added note that username may be phone number

Added a note that the username may be a phone number and a link to countrycode.org to remove ambiguity and help users find their country code.

* Update syntax

* Remove colon
This commit is contained in:
Matthew Rollings 2018-08-05 20:21:26 +01:00 committed by Fabian Affolter
parent 6f0c2fb70f
commit dac2a04406

View File

@ -28,7 +28,7 @@ tuya:
{% configuration %} {% configuration %}
username: username:
description: Your username to login to Tuya. description: Your username to login to Tuya. This may be your phone number.
required: true required: true
type: string type: string
password: password:
@ -36,7 +36,7 @@ password:
required: true required: true
type: string type: string
country_code: country_code:
description: Your account country code (i.e.,1 for USA and 86 for China). description: "Your account [country code](https://www.countrycode.org/) (e.g., 1 for USA or 86 for China)."
required: true required: true
type: string type: string
{% endconfiguration %} {% endconfiguration %}