This commit is contained in:
@@ -111,6 +111,10 @@ return static function (TestContext $test): void {
|
||||
$test->runCase('Wartezustand startet konservativ ohne aktive Phase', static function (
|
||||
TestContext $test
|
||||
) use ($sendeBeobachtung, $station): void {
|
||||
$sendeBeobachtung('EH123456', 42, true);
|
||||
$sendeBeobachtung('EH123456', 43, true);
|
||||
$sendeBeobachtung('EH123456', 96, 55);
|
||||
$sendeBeobachtung('EH123456', 102, true);
|
||||
$sendeBeobachtung('EH123456', 109, 2);
|
||||
$sendeBeobachtung('EH123456', 110, 0);
|
||||
IPS_RequestAction($station, 'Solarladen', false);
|
||||
@@ -132,6 +136,20 @@ return static function (TestContext $test): void {
|
||||
),
|
||||
'"Ampere":16'
|
||||
));
|
||||
$test->assertTrue(str_contains(
|
||||
(string) GetValue(
|
||||
$test->objectByIdent('LetzterStartbefehl', $station)
|
||||
),
|
||||
'"Aktion":"StartCharging"'
|
||||
));
|
||||
$test->assertSame(
|
||||
55,
|
||||
GetValue($test->objectByIdent('GrundKeinLadestrom', $station))
|
||||
);
|
||||
$test->assertSame(
|
||||
true,
|
||||
GetValue($test->objectByIdent('AutorisierungErforderlich', $station))
|
||||
);
|
||||
|
||||
IPS_RequestAction($station, 'Solarladen', true);
|
||||
$sendeBeobachtung('EH123456', 110, 30);
|
||||
|
||||
Reference in New Issue
Block a user