Skip to content
This repository has been archived by the owner on Jul 12, 2023. It is now read-only.

Commit

Permalink
Merge pull request #70 from mjmeli/fix-auth-may-2023
Browse files Browse the repository at this point in the history
update new auth digest and add deprecation warning to README
  • Loading branch information
mjmeli authored May 10, 2023
2 parents b000454 + addd8b1 commit 0b45b9d
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,10 @@ Designed to work with Home Assistant. Unlikely to ever be fully implemented. The

The library supports access to the real-time power usage implemented via an MQTT over websockets connection, or a more traditional REST API to poll near-real-time data.

## IMPORTANT - Deprecation Warning

**Duke Energy is shutting down the Gateway pilot program at the end of June. This library will stop functioning and will be deprecated.**

## Before You Begin

### Disclaimer
Expand Down
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[metadata]
name = pyduke-energy
version = 1.0.5
version = 1.0.6
author = Michael Meli
author_email = mjmeli94@gmail.com
description = Python Wrapper for unofficial Duke Energy REST API
Expand Down
2 changes: 1 addition & 1 deletion src/pyduke_energy/const.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

# hard-coded from Android app
BASIC_AUTH = (
"Basic NEdtR3J1M085TEFIV3BMNjVjbWpyZDhtQ1VKZU5XTVo6OWFyZVZoZlM3R2N4UmgzWA=="
"Basic ZEJEMnl0TE1IYm9UMjBNNDRkQVRqM29JelNoUG15NGQ6ODZ0QW1zVXFZcmV3R3N2WA=="
)

DEFAULT_TIMEOUT = 10 # seconds
Expand Down

0 comments on commit 0b45b9d

Please sign in to comment.