From f8583b144df7bb2c166e814bb2b0b1de08cf0054 Mon Sep 17 00:00:00 2001 From: DaRK AnGeL <28630321+masterwishx@users.noreply.github.com> Date: Tue, 24 Sep 2024 16:36:08 +0300 Subject: [PATCH] intoduce input.eco.switchable Signed-off-by: DaRK AnGeL <28630321+masterwishx@users.noreply.github.com> --- drivers/mge-hid.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/mge-hid.c b/drivers/mge-hid.c index 382c8ca347..76878dac20 100644 --- a/drivers/mge-hid.c +++ b/drivers/mge-hid.c @@ -1456,6 +1456,9 @@ static hid_info_t mge_hid2nut[] = { "input.bypass.frequency", 0, 0, "UPS.PowerConverter.Input.[2].Frequency", NULL, "%.1f", 0, NULL }, { "input.bypass.frequency.nominal", 0, 0, "UPS.Flow.[2].ConfigFrequency", NULL, "%.0f", HU_FLAG_STATIC, NULL }, + /* ECO(HE) Mode switch , maybe better = outlet.5.switchable ? */ + { "input.eco.switchable", ST_FLAG_RW | ST_FLAG_STRING, 8, "UPS.PowerConverter.Input.[5].Switchable", NULL, "%.0f", HU_FLAG_SEMI_STATIC, NULL }, + /* Output page */ { "output.voltage", 0, 0, "UPS.PowerConverter.Output.Voltage", NULL, "%.1f", 0, NULL }, { "output.L1-N.voltage", 0, 0, "UPS.PowerConverter.Output.Phase.[1].Voltage", NULL, "%.1f", 0, NULL },