From 48e07ce43a53d509a9b20c61e6e804a328d6d7ef Mon Sep 17 00:00:00 2001 From: Florian Date: Fri, 1 Nov 2024 14:15:07 +0100 Subject: [PATCH] Fixes --- components/nuki_lock/lock.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/components/nuki_lock/lock.py b/components/nuki_lock/lock.py index 6728ec6..3cd18ff 100644 --- a/components/nuki_lock/lock.py +++ b/components/nuki_lock/lock.py @@ -166,7 +166,7 @@ NukiLockLedBrightnessNumber = nuki_lock_ns.class_("NukiLockLedBrightnessNumber", number.Number, cg.Component) NukiLockSecurityPinNumber = nuki_lock_ns.class_("NukiLockSecurityPinNumber", number.Number, cg.Component) -NukiLockTimezoneOffsetNumber = nuki_lock_ns.class_("NukiLockTimezoneOffsetNumber", number.Number, cg.Component) +NukiLockTimeZoneOffsetNumber = nuki_lock_ns.class_("NukiLockTimeZoneOffsetNumber", number.Number, cg.Component) NukiLockLatitudeNumber = nuki_lock_ns.class_("NukiLockLatitudeNumber", number.Number, cg.Component) NukiLockLongitudeNumber = nuki_lock_ns.class_("NukiLockLongitudeNumber", number.Number, cg.Component) @@ -329,7 +329,7 @@ icon="mdi:shield-key", ).extend({ cv.Optional(CONF_MODE, default="BOX"): cv.enum(NUMBER_MODES, upper=True), }), cv.Optional(CONF_TIMEZONE_OFFSET_NUMBER): number.number_schema( - NukiLockTimezoneOffsetNumber, + NukiLockTimeZoneOffsetNumber, entity_category=ENTITY_CATEGORY_CONFIG, icon="mdi:clock-end", ),