Skip to content

Commit

Permalink
Merge pull request #25 from justmobilize/remove-secrets-usage
Browse files Browse the repository at this point in the history
Remove secrets usage
  • Loading branch information
FoamyGuy authored Feb 27, 2025
2 parents 68db2d5 + 239cfab commit dbdd204
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -58,12 +58,12 @@ To install in a virtual environment in your current project:
Usage Example
=============

Load bridge username and IP Address from secrets.py file:
Load bridge username and IP Address from settings.toml file:

.. code-block:: python
username = secrets['hue_username']
bridge_ip = secrets['bridge_ip']
username = os.getenv("hue_username")
bridge_ip = os.getenv("bridge_ip")
my_bridge = Bridge(wifi, bridge_ip, username)
Enumerate all lights on the bridge
Expand Down

0 comments on commit dbdd204

Please sign in to comment.