Update USPS docs to include required driver declaration (#4766)

With the changes to the USPS component in #12465 we're now required to specify the `driver` regardless if using `phantomjs` or `chrome`. Updating docs to reflect the required `driver: phantomjs` if using it. 

Re: 
* https://github.com/happyleavesaoc/python-myusps/issues/11
* https://github.com/home-assistant/home-assistant/pull/12465
This commit is contained in:
Brian J King 2018-03-14 00:45:12 -05:00 committed by Franck Nijhof
parent e5b56699af
commit 1c723cc7f7

View File

@ -32,6 +32,8 @@ Install the latest version of [PhantomJS]( http://phantomjs.org/download.html).
Don't use apt-get to install PhantomJS. This version is not compatible. Don't use apt-get to install PhantomJS. This version is not compatible.
</p> </p>
If you use the PhantomJS option, specify `driver: phantomjs` in your `usps` configuration.
### Chrome ### Chrome
@ -60,6 +62,7 @@ Configuration options for the USPS component:
- **username** (*Required*): The username to access the MyUSPS service. - **username** (*Required*): The username to access the MyUSPS service.
- **password** (*Required*): The password for the given username. - **password** (*Required*): The password for the given username.
- **driver** (*Required*): Specify if you're using `phantomjs` or `chrome`.
- **name** (*Optional*): Prefix for sensor names (defaults to "USPS") - **name** (*Optional*): Prefix for sensor names (defaults to "USPS")
<p class='note warning'> <p class='note warning'>