mirror of
https://github.com/home-assistant/core.git
synced 2025-07-16 17:57:11 +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
|
): int
|
||||||
}
|
}
|
||||||
if self.config_entry.data.get(CONF_SENSOR_TYPE, "").startswith(
|
if CONF_SENSOR_TYPE in self.config_entry.data and self.config_entry.data[
|
||||||
SupportedModels.LOCK
|
CONF_SENSOR_TYPE
|
||||||
|
] in (
|
||||||
|
SupportedModels.LOCK,
|
||||||
|
SupportedModels.LOCK_PRO,
|
||||||
|
SupportedModels.LOCK_ULTRA,
|
||||||
):
|
):
|
||||||
options.update(
|
options.update(
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user