Skip to content

Commit

Permalink
Update Readme with Attributes
Browse files Browse the repository at this point in the history
  • Loading branch information
Chouffy committed Jan 28, 2022
1 parent 9409011 commit 13fbc34
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ Sensor data can be used afterward to generate notifications, history graphs, ...
1. Click *Install*
1. Install required packages on your local PC:
* [Python >=3.8](https://www.python.org/downloads/)
* [tgtg-python](https://github.com/ahivert/tgtg-python) library: In a command line, type `pip install tgtg>=0.10.0` or `pip install --upgrade tgtg` if you already have it.
* [tgtg-python](https://github.com/ahivert/tgtg-python) library: In a command line, type `pip install tgtg>=0.11.0` or `pip install --upgrade tgtg` if you already have it.
1. Run the [tgtg_get_tokens](./tgtg_get_tokens.py) script on your local PC:
1. Paste the result in your `/config/configuration.yaml`.
1. Restart the Home Assistant server
Expand Down Expand Up @@ -58,6 +58,11 @@ Check the [tgtg_get_favorites_item_id](./tgtg_get_favorites_item_id.py) script!
* Fetch each item stock defined
* Authenticate using tokens
* Retrieve all favorites instead of a manual list of item_id if no `item:` are defined
* Retrieve additional information as attributes, if available:
* Item ID
* TooGoodToGo price and original value
* Pick-up start and end
* Sold-out date

## Q&A

Expand Down

0 comments on commit 13fbc34

Please sign in to comment.