fix(indevolt): unable to discharge at 0 (#173085)

This commit is contained in:
Pierre Pinon
2026-06-07 21:55:10 +02:00
committed by GitHub
parent 1462e7a181
commit 653e6a43fa
2 changed files with 3 additions and 3 deletions
@@ -30,7 +30,7 @@ RT_ACTION_SERVICE_SCHEMA: Final = vol.Schema(
),
vol.Required("power"): vol.All(
vol.Coerce(int),
vol.Range(min=1, max=2400),
vol.Range(min=0, max=2400),
),
}
)
@@ -18,7 +18,7 @@ charge:
required: true
selector:
number:
min: 1
min: 0
max: 2400
step: 1
unit_of_measurement: "W"
@@ -43,7 +43,7 @@ discharge:
required: true
selector:
number:
min: 1
min: 0
max: 2400
step: 1
unit_of_measurement: "W"