From e49bd8cc5609bc44bca61dcc30ccdb9f95c5d413 Mon Sep 17 00:00:00 2001 From: Daniely2023 <122094790+Daniely2023@users.noreply.github.com> Date: Mon, 20 Feb 2023 21:50:27 +0100 Subject: [PATCH] Update number.py -128 / + 128 adjustable minimum and maximum count endpoints --- components/roode/number.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/roode/number.py b/components/roode/number.py index b7d9d91a..37a5bcff 100644 --- a/components/roode/number.py +++ b/components/roode/number.py @@ -19,7 +19,7 @@ cv.Optional(CONF_PEOPLE_COUNTER): PERSISTED_NUMBER_SCHEMA.extend( { cv.Optional(CONF_ICON, default="mdi:counter"): cv.icon, # new default - cv.Optional(CONF_MAX_VALUE, 10): cv.int_range(1, 255), + cv.Optional(CONF_MAX_VALUE, 10): cv.int_range(-128, 128), } ), }