Skip to content

Commit e46b52b

Browse files
committed
Update __init__.py
1 parent 2285dd6 commit e46b52b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

custom_components/sector/__init__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -346,7 +346,7 @@ async def triggerlock(self, lock, code, command):
346346
API_URL + "/Panel/Lock", json_data=message_json
347347
)
348348

349-
If response is not None:
349+
if response is not None:
350350
await self.fetch_info(False)
351351
return True
352352

@@ -367,7 +367,7 @@ async def triggeralarm(self, command, code):
367367
API_URL + "/Panel/Disarm", json_data=message_json
368368
)
369369

370-
If response is not None:
370+
if response is not None:
371371
await self.fetch_info(False)
372372
return True
373373

0 commit comments

Comments
 (0)