mirror of
https://github.com/home-assistant/core.git
synced 2025-07-15 17:27:10 +00:00
Remove force latch mode for locklite in switchbot integration (#147474)
This commit is contained in:
parent
3268b9ee18
commit
2800921a5d
@ -367,8 +367,12 @@ class SwitchbotOptionsFlowHandler(OptionsFlow):
|
||||
),
|
||||
): int
|
||||
}
|
||||
if self.config_entry.data.get(CONF_SENSOR_TYPE, "").startswith(
|
||||
SupportedModels.LOCK
|
||||
if CONF_SENSOR_TYPE in self.config_entry.data and self.config_entry.data[
|
||||
CONF_SENSOR_TYPE
|
||||
] in (
|
||||
SupportedModels.LOCK,
|
||||
SupportedModels.LOCK_PRO,
|
||||
SupportedModels.LOCK_ULTRA,
|
||||
):
|
||||
options.update(
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user