From 1c723cc7f7ec8862a4ba775fc207159e776f4b34 Mon Sep 17 00:00:00 2001
From: Brian J King
Date: Wed, 14 Mar 2018 00:45:12 -0500
Subject: [PATCH] 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
---
source/_components/usps.markdown | 3 +++
1 file changed, 3 insertions(+)
diff --git a/source/_components/usps.markdown b/source/_components/usps.markdown
index 3971db4ec66..3a7c9a06abe 100644
--- a/source/_components/usps.markdown
+++ b/source/_components/usps.markdown
@@ -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.
+If you use the PhantomJS option, specify `driver: phantomjs` in your `usps` configuration.
+
### Chrome
@@ -60,6 +62,7 @@ Configuration options for the USPS component:
- **username** (*Required*): The username to access the MyUSPS service.
- **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")