mirror of
https://github.com/home-assistant/core.git
synced 2025-07-17 10:17:09 +00:00
Fix formatting (#54247)
This commit is contained in:
parent
2232915ea8
commit
a001fd5000
@ -51,7 +51,7 @@ def setup_platform(
|
|||||||
raise ValueError("Username or Password is incorrect")
|
raise ValueError("Username or Password is incorrect")
|
||||||
add_entities(
|
add_entities(
|
||||||
(AladdinDevice(acc, door) for door in acc.get_doors()),
|
(AladdinDevice(acc, door) for door in acc.get_doors()),
|
||||||
update_before_add = True
|
update_before_add=True,
|
||||||
)
|
)
|
||||||
except (TypeError, KeyError, NameError, ValueError) as ex:
|
except (TypeError, KeyError, NameError, ValueError) as ex:
|
||||||
_LOGGER.error("%s", ex)
|
_LOGGER.error("%s", ex)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user