Skip to content

Commit

Permalink
🐛 FIX: removed unused methods
Browse files Browse the repository at this point in the history
  • Loading branch information
unl0ck committed Dec 9, 2024
1 parent 6238165 commit b6bd735
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 16 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.19"
current_version = "2.11.20"
parse = "(?P<major>\\d+)\\.(?P<minor>\\d+)\\.(?P<patch>\\d+)"
serialize = ["{major}.{minor}.{patch}"]
search = "{current_version}"
Expand Down
12 changes: 0 additions & 12 deletions GridboxConnectorAddon-edge/GridboxConnector/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,18 +24,6 @@ def load_gridbox_config():
data = json.load(json_file)
return data

def run_telemetry():
telemetry = None
try:
enable_telemetry = get_bool_env('ENABLE_TELEMETRY', False)
if enable_telemetry:
otel_server = os.getenv('TELEMETRY_SERVER', "https://otel.helming.xyz")
telemetry = Telemetry(otel_server, "homeassistant-addon-viessmann-gridbox-edge")
telemetry.log_as_span("Telemetry enabled", level=logger.level)
except Exception as e:
logger.error(f"Error while setting up telemetry: {e}")
return telemetry

def live_data_task(gridboxConnector:GridboxConnector, ha_viessmann_device:HAViessmannGridboxConnector, WAIT):
one_time_print = True
while 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.19",
"version": "2.11.20",
"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.19"
version: "2.11.20"
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.19",
"version": "2.11.20",
"urls": {
"login": "https://gridx.eu.auth0.com/oauth/token",
"gateways": "https://api.gridx.de/gateways",
Expand Down

0 comments on commit b6bd735

Please sign in to comment.