diff --git a/custom_components/econet300/const.py b/custom_components/econet300/const.py index aac1154..b6f64f2 100644 --- a/custom_components/econet300/const.py +++ b/custom_components/econet300/const.py @@ -231,6 +231,9 @@ "lambdaStatus": lambda x: "STOP" if x == 0 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', + } REG_PARAM_ENTITY_CATEGORY = {