From 56ab2498cae3f825c38b306e4c138dbf6e68b995 Mon Sep 17 00:00:00 2001 From: saniho <52693545+saniho@users.noreply.github.com> Date: Wed, 29 Dec 2021 21:51:42 +0100 Subject: [PATCH] add data volume --- .idea/workspace.xml | 11 +++++++++-- custom_components/apiEarnApp/const.py | 2 +- custom_components/apiEarnApp/manifest.json | 2 +- custom_components/apiEarnApp/testapiEarnApp.py | 2 +- 4 files changed, 12 insertions(+), 5 deletions(-) diff --git a/.idea/workspace.xml b/.idea/workspace.xml index 76c0509..a85034d 100644 --- a/.idea/workspace.xml +++ b/.idea/workspace.xml @@ -3,8 +3,8 @@ - + diff --git a/custom_components/apiEarnApp/const.py b/custom_components/apiEarnApp/const.py index 5434ae5..14888c3 100644 --- a/custom_components/apiEarnApp/const.py +++ b/custom_components/apiEarnApp/const.py @@ -8,6 +8,6 @@ # delai pour l'update http, toutes les 3 heures SCAN_INTERVAL_http = datetime.timedelta(seconds=60*60*3) -__VERSION__ = "1.0.0.1" +__VERSION__ = "1.0.0.2" __name__ = "apiEarnApp" \ No newline at end of file diff --git a/custom_components/apiEarnApp/manifest.json b/custom_components/apiEarnApp/manifest.json index 767db4e..325aa0b 100644 --- a/custom_components/apiEarnApp/manifest.json +++ b/custom_components/apiEarnApp/manifest.json @@ -2,7 +2,7 @@ "domain": "apiEarnApp", "name": "apiEarnApp sensor", "documentation": "", - "version": "1.0.0.1", + "version": "1.0.0.2", "requirements": [ ], "dependencies": [], diff --git a/custom_components/apiEarnApp/testapiEarnApp.py b/custom_components/apiEarnApp/testapiEarnApp.py index 49287a0..ed9802e 100644 --- a/custom_components/apiEarnApp/testapiEarnApp.py +++ b/custom_components/apiEarnApp/testapiEarnApp.py @@ -2,7 +2,7 @@ def testMoney(): import apiEarnApp, sensorApiEarnApp _myEarn = apiEarnApp.apiEarnApp() - token = "1//0dMJijGNxvkEwCgYIARAAGA0SNwF-L9Irs6EZpoRZIeY7ibtyGypTtnTchAAc4_kv3JStbYM1UVE1VREr0sfE8C8dXHQ6fEhGC2M" + token = "...." _myEarn.setToken( token ) _myEarn.getInfo() print(_myEarn.getMoney())