diff --git a/components/nuki_lock/lock.py b/components/nuki_lock/lock.py index 26e7353..701d6a0 100644 --- a/components/nuki_lock/lock.py +++ b/components/nuki_lock/lock.py @@ -474,14 +474,14 @@ async def to_code(config): if latitude := config.get(CONF_LATITUDE_NUMBER): n = await number.new_number( - latitude, min_value=0, max_value=180, step=0.1 + latitude, min_value=0, max_value=180, step=0.0000001 ) await cg.register_parented(n, config[CONF_ID]) cg.add(var.set_latitude_number(n)) if longitude := config.get(CONF_LONGITUDE_NUMBER): n = await number.new_number( - longitude, min_value=0, max_value=180, step=0.1 + longitude, min_value=0, max_value=180, step=0.0000001 ) await cg.register_parented(n, config[CONF_ID]) cg.add(var.set_longitude_number(n))