Skip to content

Commit dbdd204

Browse files
authored
Merge pull request #25 from justmobilize/remove-secrets-usage
Remove secrets usage
2 parents 68db2d5 + 239cfab commit dbdd204

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -58,12 +58,12 @@ To install in a virtual environment in your current project:
5858
Usage Example
5959
=============
6060

61-
Load bridge username and IP Address from secrets.py file:
61+
Load bridge username and IP Address from settings.toml file:
6262

6363
.. code-block:: python
6464
65-
username = secrets['hue_username']
66-
bridge_ip = secrets['bridge_ip']
65+
username = os.getenv("hue_username")
66+
bridge_ip = os.getenv("bridge_ip")
6767
my_bridge = Bridge(wifi, bridge_ip, username)
6868
6969
Enumerate all lights on the bridge

0 commit comments

Comments
 (0)