diff --git a/goodwe_controller/test_ev14.py b/goodwe_controller/test_ev14.py index fac3a39..5cace2b 100644 --- a/goodwe_controller/test_ev14.py +++ b/goodwe_controller/test_ev14.py @@ -242,6 +242,11 @@ for lang in LANGS: f"12 A, 3 phases, no 'You set': {t!r}", t == exp(lang, "manual_shadow_over", a="12", phases=pw_l(lang, 3)) and YOU[lang] not in t) + # Review: the phases word is the writer's `would`, as manual_would's. + c = U(shadow=True, over=True, a=16.0, n=1, would=(10.0, 3)) + check(f"T1 phases ({lang}): the phases come from would, not car_n", + why(c, lang) == exp(lang, "manual_shadow_over", a="10", + phases=pw_l(lang, 3))) c = U(shadow=True, over=False, a=16.0, n=3, would=(10.0, 3)) check(f"T5 ({lang}): shadow, not over: exactly today's manual_would", why(c, lang) == BASE_EN["manual_would"].format(