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,