Update docs.md

This commit is contained in:
Yegor Vialov 2019-02-08 20:02:15 +02:00 committed by GitHub
parent 38f63fd729
commit 6c7b001c4a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -46,9 +46,11 @@ Starting from Home Assistant 0.78.0 `api_password` is a deprecated way to authen
1. Go to your Home Assistant web interface and open your profile settings (just click on your user picture in the top part of left menu) 1. Go to your Home Assistant web interface and open your profile settings (just click on your user picture in the top part of left menu)
![image](/assets/images/ha_profile.png) ![image](/assets/images/ha_profile.png)
2. Scroll down to *Long-lived access tokens* section and click *Create token* 2. Scroll down to *Long-lived access tokens* section and click *Create token*
![image](/assets/images/ha_access_tokens.png) ![image](/assets/images/ha_access_tokens.png)
3. Give it a name `HA Client` as it will be used only for HA Client app (it is recommended to use different access tokens for different apps and services) 3. Give it a name `HA Client` as it will be used only for HA Client app (it is recommended to use different access tokens for different apps and services)
4. Click *Ok* and copy newly generated access token somewhere in a safe place or directly to Connection settings of HA Client 4. Click *Ok* and copy newly generated access token somewhere in a safe place or directly to Connection settings of HA Client