Remove ADB public key, file is not needed anymore (#9054)

* Remove references to adbkey.pub

* Upstream library does not need the public key anymore
This commit is contained in:
dilruacs 2019-03-30 09:32:43 +01:00 committed by Paulus Schoutsen
parent 600d708c43
commit 948a96c597

View File

@ -70,7 +70,7 @@ port:
default: 5555
type: integer
adbkey:
description: The path to your `adbkey` file. Note that the file `adbkey.pub` must be in the same directory.
description: The path to your `adbkey` file.
required: false
type: string
adb_server_ip:
@ -158,12 +158,12 @@ If you get a "Device authentication required, no keys available" error when tryi
In the dialog appearing on your Android TV / Fire TV, you must check the box that says "always allow connections from this device." ADB authentication in Home Assistant will only work using a trusted key.
</p>
Once you've successfully connected to your Android TV / Fire TV via the command `adb connect <ipaddress>`, the files `adbkey` and `adbkey.pub` will be created on your computer. The default locations for these files are (from [https://developer.android.com/studio/command-line/adb](https://developer.android.com/studio/command-line/adb)):
Once you've successfully connected to your Android TV / Fire TV via the command `adb connect <ipaddress>`, the file `adbkey` will be created on your computer. The default locations for this file is (from [https://developer.android.com/studio/command-line/adb](https://developer.android.com/studio/command-line/adb)):
- Linux and Mac: `$HOME/.android.`
- Windows: `%userprofile%\.android.`
Copy the `adbkey` and `adbkey.pub` files to your Home Assistant folder and add the path to the `adbkey` file to your configuration.
Copy the `adbkey` file to your Home Assistant folder and add the path to the `adbkey` file to your configuration.
## {% linkable_title ADB Troubleshooting %}
@ -181,8 +181,6 @@ If you receive the error message `Error while setting up platform androidtv` in
* Home Assistant does not have the appropriate permissions for the `adbkey` file and so it is not able to use it. Once you fix the permissions, the component should work.
* Newer ADB binaries do not generate an `adbkey.pub` file for you. This can be resolved by creating an empty `adbkey.pub` in the same directory, e.g., by running `touch adbkey.pub`.
## {% linkable_title Services %}
### {% linkable_title `media_player.select_source` %}