Skip to content

Commit

Permalink
🐛 FIX: running
Browse files Browse the repository at this point in the history
  • Loading branch information
unl0ck committed Jul 15, 2024
1 parent 315ff49 commit 9f6723e
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 17 deletions.
2 changes: 1 addition & 1 deletion .bumpversion-edge.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[tool.bumpversion]
current_version = "2.8.3"
current_version = "2.8.4"
parse = "(?P<major>\\d+)\\.(?P<minor>\\d+)\\.(?P<patch>\\d+)"
serialize = ["{major}.{minor}.{patch}"]
search = "{current_version}"
Expand Down
15 changes: 2 additions & 13 deletions GridboxConnectorAddon-edge/GridboxConnector/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,17 +67,6 @@ def run_addon():
gridboxConnector.init_auth()
time.sleep(WAIT)

def run_test_log():

logging_test = "{'grant_type': 'http://auth0.com/oauth/grant-type/password-realm', 'username': '[email protected]', 'password': 'Simon1991!', 'audience': 'my.gridx', 'client_id': 'oZpr934Ikn8OZOHTJEcrgXkjio0I0Q7b', 'scope': 'email openid', 'realm': 'viessmann-authentication-db'}"
try:
json_msg = json.loads(logging_test)
except json.JSONDecodeError:
# Wenn die Nachricht kein JSON ist, nichts tun
logging.error('Could not parse message as JSON')
logger.info(logging_test)


if __name__ == '__main__':
#run_addon()
run_test_log()
run_addon()
#run_test_log()
2 changes: 1 addition & 1 deletion GridboxConnectorAddon-edge/cloudSettings.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"version": "2.8.3",
"version": "2.8.4",
"urls": {
"login": "https://gridx.eu.auth0.com/oauth/token",
"gateways": "https://api.gridx.de/gateways",
Expand Down
2 changes: 1 addition & 1 deletion GridboxConnectorAddon-edge/config.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# https://developers.home-assistant.io/docs/add-ons/configuration#add-on-config
---
name: Viessmann Gridbox Connector (edge)
version: "2.8.3"
version: "2.8.4"
slug: "gridbox_connector_edge"
description: "Viessmann Gridbox Connector (edge)"
url: "https://github.com/unl0ck/homeassistant-addon-viessmann-gridbox/tree/main/GridboxConnectorAddon-edge"
Expand Down
2 changes: 1 addition & 1 deletion GridboxConnectorAddon-edge/rootfs/share/cloudSettings.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"version": "2.8.3",
"version": "2.8.4",
"urls": {
"login": "https://gridx.eu.auth0.com/oauth/token",
"gateways": "https://api.gridx.de/gateways",
Expand Down

0 comments on commit 9f6723e

Please sign in to comment.