diff --git a/custom_components/econet300/const.py b/custom_components/econet300/const.py index 7bd2aa6..49f1d22 100644 --- a/custom_components/econet300/const.py +++ b/custom_components/econet300/const.py @@ -261,9 +261,9 @@ else ("OFF" if str(x).strip() == "false" else None) ), "lambdaStatus": ( - lambda x: "STOP" + lambda x: "stop" if x == 0 - else ("START" if x == 1 else ("Working" if x == 2 else "Unknown")) + else ("start" if x == 1 else ("working" if x == 2 else "unknown")) ), "status_wifi": lambda x: "Connected" if x == 1 else "Disconnected", "main_server": lambda x: "Server available" if x == 1 else "Server not available", diff --git a/custom_components/econet300/strings.json b/custom_components/econet300/strings.json index 874f599..7025ca6 100644 --- a/custom_components/econet300/strings.json +++ b/custom_components/econet300/strings.json @@ -36,7 +36,15 @@ "fuel_level": { "name": "Fuel level" }, "fan_power": { "name": "Fan power" }, "fan_works": { "name": "Fan" }, - "lambda_status": { "name": "Lambda status" }, + "lambda_status": { + "name": "Lambda status", + "state": { + "stop": "Stop", + "start": "Start", + "working": "Working", + "unknown": "Unknown" + } + }, "lambda_set": { "name": "Lambda set" }, "lambda_level": { "name": "Lambda level" }, "main_server": { "name": "Main server" }, diff --git a/custom_components/econet300/translations/en.json b/custom_components/econet300/translations/en.json index bcba107..94f5a80 100644 --- a/custom_components/econet300/translations/en.json +++ b/custom_components/econet300/translations/en.json @@ -36,7 +36,15 @@ "fuel_level": { "name": "Fuel level" }, "fan_power": { "name": "Fan power" }, "fan_works": { "name": "Fan" }, - "lambda_status": { "name": "Lambda status" }, + "lambda_status": { + "name": "Lambda status", + "state": { + "stop": "Stop", + "start": "Start", + "working": "Working", + "unknown": "Unknown" + } + }, "lambda_set": { "name": "Lambda set" }, "lambda_level": { "name": "Lambda level" }, "main_server": { "name": "Main server" }, diff --git a/custom_components/econet300/translations/pl.json b/custom_components/econet300/translations/pl.json index 1049005..d8fe0a3 100644 --- a/custom_components/econet300/translations/pl.json +++ b/custom_components/econet300/translations/pl.json @@ -36,7 +36,15 @@ "fuel_level": { "name": "Poziom paliwa" }, "fan_works": { "name": "Fan" }, "fan_power": { "name": "Moc nadmuchu" }, - "lambda_status": { "name": "Lambda status" }, + "lambda_status": { + "name": "Lambda status", + "state": { + "stop": "Stop", + "start": "Start", + "working": "Working", + "unknown": "Unknown" + } + }, "lambda_set": { "name": "Lambda set" }, "lambda_level": { "name": "Czujnik Lambda" }, "mixer_temp1": { "name": "Temp. mieszacza 1" },