Skip to content

Commit

Permalink
docs: fix README
Browse files Browse the repository at this point in the history
  • Loading branch information
stackia committed Feb 28, 2025
1 parent ce3e629 commit 2cf0588
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ Command Line Tool
This library also includes a command-line tool for testing and interacting with Deye devices.

Installation
-----------
------------

The CLI tool is automatically installed when you install the library:

Expand Down Expand Up @@ -117,7 +117,7 @@ Usage
deye-cli --username YOUR_USERNAME --password YOUR_PASSWORD refresh-token
Using .env File
--------------
---------------

You can store your credentials in a .env file to avoid typing them in each command:

Expand Down Expand Up @@ -158,7 +158,7 @@ With device and product IDs in your .env file, you can simplify commands:
deye-cli monitor
Getting and Using Authentication Tokens
--------------------------------------
---------------------------------------

To avoid sending your username and password with each request, you can use an authentication token:

Expand All @@ -177,7 +177,7 @@ To avoid sending your username and password with each request, you can use an au
deye-cli --token YOUR_TOKEN refresh-token
Available Commands
----------------
------------------

- ``devices``: List all devices connected to your account
- ``products``: List all available product types
Expand Down

0 comments on commit 2cf0588

Please sign in to comment.