From 6f3e07ece273556e64c0f88bcbf9b7589498da85 Mon Sep 17 00:00:00 2001 From: jontofront Date: Sun, 10 Nov 2024 23:02:07 +0200 Subject: [PATCH] fix grama --- .vscode/settings.json | 4 +++- custom_components/econet300/const.py | 4 ++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/.vscode/settings.json b/.vscode/settings.json index 8d76dc6..18fc391 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -10,6 +10,8 @@ "editor.defaultFormatter": "vscode.json-language-features" }, "cSpell.words": [ - "homeassistant" + "homeassistant", + "MILLIWATT", + "PARAMSUNITSNAMES" ], } \ No newline at end of file diff --git a/custom_components/econet300/const.py b/custom_components/econet300/const.py index f89eed8..194aeff 100644 --- a/custom_components/econet300/const.py +++ b/custom_components/econet300/const.py @@ -56,10 +56,10 @@ ## Map names for params data in API_REG_PARAMS_DATA_URI API_RM_CURRENT_DATA_PARAMS_URI = "rmCurrentDataParams" -## Mapunits for params data map API_RM_CURRENT_DATA_PARAMS_URI +## Map units for params data map API_RM_CURRENT_DATA_PARAMS_URI API_RM_PARAMSUNITSNAMES_URI = "rmParamsUnitsNames" -# Boiler staus keys map +# Boiler status keys map # boiler mode names from endpoint http://LocalIP/econet/rmParamsEnums? OPERATION_MODE_NAMES = { 0: STATE_OFF,