@@ -904,7 +904,8 @@ async def _load_devices_nodes(self):
904904 UaStatusCodeErrors ,
905905 BadWaitingForInitialData ):
906906 if node .get ('valid' , True ):
907- self .__log .warning ('Node not found (2); device: %s, key: %s, path: %s' , device .name ,
907+ self .__log .warning ('Node not found (2); device: %s, key: %s, path: %s' ,
908+ device .name ,
908909 node ['key' ], node ['path' ])
909910 await self .__unsubscribe_from_node (device , node )
910911 except UaStatusCodeError as uae :
@@ -1135,7 +1136,7 @@ def on_attributes_update(self, content: Dict):
11351136
11361137 continue
11371138 self .__write_node_value (node_id , value , timeout = ON_ATTRIBUTE_UPDATE_DEFAULT_TIMEOUT )
1138- self .__log .debug ("Successfully proccesed attribute update for device %s with key %s" , device .name )
1139+ self .__log .debug ("Successfully proccesed attribute update for device %s with key %s" , device .name , key )
11391140
11401141 except Exception as e :
11411142 self .__log .exception (e )
@@ -1156,7 +1157,7 @@ def __write_node_value(self, node_id: NodeId, value, timeout: float) -> bool:
11561157 poll_interval = 0.2 )
11571158 if not task_completed :
11581159 self .__log .error (
1159- "Failed to process request for %s, timeout has been reached" ,
1160+ "Failed to process request for %s, timeout has been reached" ,
11601161 )
11611162 result = {"error" : f"Timeout has been reached during write { value } " }
11621163
0 commit comments