From 61b3de34ac5762c9ab6204ca62b40f8a229db47e Mon Sep 17 00:00:00 2001 From: Sebastian Muszynski Date: Fri, 20 Oct 2023 10:38:23 +0200 Subject: [PATCH] Relax `max_discharge_current` validation (Closes: #381) (#382) --- components/jk_bms_ble/number/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/jk_bms_ble/number/__init__.py b/components/jk_bms_ble/number/__init__.py index 3d6f07dc..36c16be5 100644 --- a/components/jk_bms_ble/number/__init__.py +++ b/components/jk_bms_ble/number/__init__.py @@ -260,7 +260,7 @@ cv.Optional(CONF_MAX_DISCHARGE_CURRENT): JK_NUMBER_SCHEMA.extend( { cv.Optional(CONF_MIN_VALUE, default=1.0): cv.float_, - cv.Optional(CONF_MAX_VALUE, default=200.0): cv.float_, + cv.Optional(CONF_MAX_VALUE, default=200.1): cv.float_, cv.Optional(CONF_STEP, default=0.1): cv.float_, cv.Optional( CONF_UNIT_OF_MEASUREMENT, default=UNIT_AMPERE