File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed
Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -429,8 +429,8 @@ async def set_switch_state(
429429 lock_blocked = self .gw_entities [appl_id ]["switches" ].get ("lock" )
430430 LOGGER .debug ("HOI lock_blocked=%s" , lock_blocked )
431431 if lock_blocked or lock_blocked is None :
432- # Don't switch a relay when its corresponding lock-state is true or no
433- # lock is present. That means the relay can't be controlled by the user.
432+ # Don't switch a relay when its corresponding lock-state is true or no
433+ # lock is present. That means the relay can't be controlled by the user.
434434 return current_state
435435
436436 await self .call_request (uri , method = "put" , data = data )
Original file line number Diff line number Diff line change @@ -108,7 +108,8 @@ async def test_connect_adam_plus_anna_new(self):
108108 assert switch_change
109109 # Test relay without lock-attribute
110110 switch_change = await self .tinker_switch (
111- smile , "854f8a9b0e7e425db97f1f110e1ce4b3" ,
111+ smile ,
112+ "854f8a9b0e7e425db97f1f110e1ce4b3" ,
112113 )
113114 assert not switch_change
114115 switch_change = await self .tinker_switch (
You can’t perform that action at this time.
0 commit comments