From 84da6ee10ea3f13d59c67edba052ea5fe4c59092 Mon Sep 17 00:00:00 2001 From: "J. Nick Koston" Date: Wed, 7 Jun 2023 18:13:02 -0500 Subject: [PATCH] tweak --- components/ratgdo/number/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/ratgdo/number/__init__.py b/components/ratgdo/number/__init__.py index cd06141..26aeeee 100644 --- a/components/ratgdo/number/__init__.py +++ b/components/ratgdo/number/__init__.py @@ -30,7 +30,7 @@ CONFIG_SCHEMA = number.number_schema(RATGDONumber).extend( async def to_code(config): var = cg.new_Pvariable(config[CONF_ID]) - await number.register_number(var, config, step=1) + await number.register_number(var, config, step=1, min_value=0, max_value=4294967295) await cg.register_component(var, config) cg.add(var.set_number_type(config[CONF_TYPE])) await register_ratgdo_child(var, config)