Skip to content

Commit

Permalink
🐛 FIX: fixed exception utils
Browse files Browse the repository at this point in the history
  • Loading branch information
unl0ck committed Nov 26, 2024
1 parent b820402 commit 59b12e2
Show file tree
Hide file tree
Showing 6 changed files with 14 additions and 5 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.11.1"
current_version = "2.11.2"
parse = "(?P<major>\\d+)\\.(?P<minor>\\d+)\\.(?P<patch>\\d+)"
serialize = ["{major}.{minor}.{patch}"]
search = "{current_version}"
Expand Down
8 changes: 8 additions & 0 deletions GridboxConnectorAddon-edge/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
<!-- https://developers.home-assistant.io/docs/add-ons/presentation#keeping-a-changelog -->

## 2.11.0

### 🚀 Added

- Historical Data Device
- update viessmann-gridbox-connector to 1.6.0
- update ha-mqtt-discoverable to 0.16.0

## 2.10.0

### 🚀 Added
Expand Down
3 changes: 2 additions & 1 deletion GridboxConnectorAddon-edge/GridboxConnector/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,10 @@ def filter(self, record):
literal_msg['client_id'] = '***'
# Das modifizierte Dictionary zurück in einen String konvertieren
record.msg = json.dumps(literal_msg)
except json.JSONDecodeError:
except Exception as e:
# Wenn die Nachricht kein JSON ist, nichts tun
logging.error('Could not parse message as JSON')
logging.error(e)
pass
return True

Expand Down
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.11.1",
"version": "2.11.2",
"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.11.1"
version: "2.11.2"
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.11.1",
"version": "2.11.2",
"urls": {
"login": "https://gridx.eu.auth0.com/oauth/token",
"gateways": "https://api.gridx.de/gateways",
Expand Down

0 comments on commit 59b12e2

Please sign in to comment.