From addd8b16d2d3b88a36f141c7808507ca15e6ed7a Mon Sep 17 00:00:00 2001 From: Michael Meli Date: Wed, 10 May 2023 11:25:10 -0400 Subject: [PATCH] update new auth digest and add deprecation warning to README --- README.md | 4 ++++ setup.cfg | 2 +- src/pyduke_energy/const.py | 2 +- 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index fc693f9..33233ab 100644 --- a/README.md +++ b/README.md @@ -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 diff --git a/setup.cfg b/setup.cfg index 96cb006..cf99d24 100644 --- a/setup.cfg +++ b/setup.cfg @@ -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 diff --git a/src/pyduke_energy/const.py b/src/pyduke_energy/const.py index ef4079c..b510ccf 100644 --- a/src/pyduke_energy/const.py +++ b/src/pyduke_energy/const.py @@ -13,7 +13,7 @@ # hard-coded from Android app BASIC_AUTH = ( - "Basic NEdtR3J1M085TEFIV3BMNjVjbWpyZDhtQ1VKZU5XTVo6OWFyZVZoZlM3R2N4UmgzWA==" + "Basic ZEJEMnl0TE1IYm9UMjBNNDRkQVRqM29JelNoUG15NGQ6ODZ0QW1zVXFZcmV3R3N2WA==" ) DEFAULT_TIMEOUT = 10 # seconds