From 0c693fde488aa0155095bbdf7bc11e0e2f8b25a9 Mon Sep 17 00:00:00 2001 From: Jean-Louis Dupond Date: Fri, 16 Aug 2024 14:35:56 +0200 Subject: [PATCH] Max value is 1000000 --- custom_components/nrgkick/number.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/custom_components/nrgkick/number.py b/custom_components/nrgkick/number.py index f356027..103f712 100644 --- a/custom_components/nrgkick/number.py +++ b/custom_components/nrgkick/number.py @@ -58,7 +58,7 @@ class NRGKickNumberEntityDescription(NumberEntityDescription, NRGKickRequiredKey key="energy_limit", device_class=NumberDeviceClass.ENERGY, native_unit_of_measurement=UnitOfEnergy.WATT_HOUR, - native_max_value=4294967295, + native_max_value=1000000, native_min_value=0, native_step=1, mode=NumberMode.BOX,