nixos/tests/evcc: fix charger messaging

The scoping for these messages changed a while ago.
This commit is contained in:
Martin Weinelt 2025-09-27 16:25:53 +02:00
commit 3c6c343d73
No known key found for this signature in database
GPG key ID: 87C1E9888F856759

View file

@ -57,19 +57,19 @@ in
type = "custom";
status = {
source = "script";
cmd = "/bin/sh -c 'echo charger status A'";
cmd = "/bin/sh -c 'echo A'";
};
enabled = {
source = "script";
cmd = "/bin/sh -c 'echo charger enabled state false'";
cmd = "/bin/sh -c 'echo false'";
};
enable = {
source = "script";
cmd = "/bin/sh -c 'echo set charger enabled state true'";
cmd = "/bin/sh -c 'echo true'";
};
maxcurrent = {
source = "script";
cmd = "/bin/sh -c 'echo set charger max current 7200'";
cmd = "/bin/sh -c 'echo 7200'";
};
}
];