This repository has been archived by the owner on Jul 26, 2024. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Ensure plan information fetched before sensor setup * Refactor sensor.py * Add allowance reset sensor * Refactor api_client * Change session refresh time * Added user-agent header * Tidy up api_client * Tweak session refresh logic * Update documentation * Change initial version number
- Loading branch information
Showing
5 changed files
with
140 additions
and
54 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,8 @@ | ||
DOMAIN = "o2" | ||
CONFIG_VERSION = 1 | ||
ENTITY_TYPES = ["sensor"] | ||
USER_AGENT = "dan-r-homeassistant-o2" | ||
INTEGRATION_VERSION = "0.1.0" | ||
|
||
DATA_COORDINATOR = "coordinator" | ||
DATA_APICLIENT = "apiclient" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters